Installation¶
APM can be installed via one-line scripts, pre-built binaries, or by building from source.
One-Line Install (Recommended)¶
Install layout:
| Platform | Binary location | Symlink |
|---|---|---|
| macOS | /usr/local/opt/apm/apm |
/usr/local/bin/apm → /usr/local/opt/apm/apm |
| Linux | /opt/apm/apm |
/usr/local/bin/apm → /opt/apm/apm |
After installation, verify with:
Pre-built Binaries¶
Pre-built binaries for Windows, macOS, and Linux are available for each stable release:
- Go to the Releases page
- Download the binary for your OS and architecture
- Place it in a directory on your
PATH - Verify with
pm info
Build from Source¶
Requirements¶
- Go 1.21 or later
- Git
- Windows, macOS, or Linux
Steps¶
# Clone the repository
git clone https://github.com/aaravmaloo/apm.git
cd apm
# Build the binary
go build -o pm main.go
# Verify the build
./pm info
# Run the guided setup flow
./pm setup
Tip
On Windows, the output binary will be pm.exe. You can move it to a directory on your PATH for global access.
Preview and Beta Builds¶
Pre-built binaries for preview, beta, and canary builds are available from the Builds page.
Warning
Preview and beta builds may be unstable and could potentially corrupt your vault. These builds are intended for developers and testers only. Do not use them for production vaults.
The APM version system follows these stages (e.g., for a v8 release):
| Stage | Tag | Stability |
|---|---|---|
| Canary | can-8 |
Experimental |
| Beta | beta-8 |
Testing |
| Pre-release | pre-8 |
Near-stable |
| Release | v8 |
Stable |
Updating¶
APM includes a self-update mechanism:
This checks for the latest release on GitHub and downloads/replaces the binary automatically. You can also force a check with:
Uninstalling¶
Next Steps¶
Once installed, proceed to First Steps to run setup and start managing secrets.