Install#
Get the AgentPM CLI on your machine and confirm it’s on your path.
macOS & Linux#
brew tap agentpm-dev/tap
brew install agentpmHomebrew tap trust
On newer Homebrew versions, third-party taps may require explicit trust before formulae can be loaded.
If Homebrew refuses to load agentpm-dev/tap/agentpm from an untrusted tap, run one of:
brew trust --formula agentpm-dev/tap/agentpm
# or trust the whole tap:
brew trust agentpm-dev/tapUpgrade#
brew update && brew upgrade agentpmUninstall#
brew uninstall agentpmVerify#
which agentpm
agentpm -V
brew info agentpmNote
If which agentpm prints nothing, ensure Homebrew’s bin directory is on your PATH.
Windows#
scoop bucket add agentpm https://github.com/agentpm-dev/scoop-bucket
scoop install agentpmUpgrade#
scoop update
scoop update agentpmUninstall#
scoop uninstall agentpmVerify#
where agentpm
agentpm -V
scoop info agentpmNote
If where agentpm doesn’t find the binary, run scoop reset agentpm or re-open your terminal so updated PATH settings take effect.
Troubleshooting#
- Permission issues on macOS/Linux. Try
brew doctorto diagnose Homebrew setup problems, or run your shell as a user with the correct permissions for the Homebrew prefix. - Untrusted Homebrew tap. If Homebrew says it is refusing to load
agentpm-dev/tap/agentpmfrom an untrusted tap, runbrew trust --formula agentpm-dev/tap/agentpmorbrew trust agentpm-dev/tap. - Corporate proxies / TLS MITM. Configure your proxy in your shell env before installing, e.g.
HTTPS_PROXY/HTTP_PROXY. - Shell not seeing updates. Open a new terminal session, or run
hash -r(bash/zsh) after upgrading.