Installation
Install, verify, update, and uninstall the AXP CLI.
Install the AXP CLI
bash <(curl -fsSL https://dl.514.ax/install.sh) axax --helpEvery install verifies the CLI binary's SHA-256 checksum; if gpg is installed, the installer also verifies the binary signature.
Requirements
Install requires macOS or Linux on x86_64 or aarch64 only — the
installer hard-fails on any other OS or architecture. Remote runs need
sign-in (ax auth login). Local runs (ax experiment run --local) also need
Docker and a model provider key (ANTHROPIC_API_KEY for Claude,
OPENAI_API_KEY for Codex). See Getting Started.
What the installer does
- Downloads the binary from
https://download.514.ax/<channel>/<version>/<target>/ax. - Verifies the SHA-256 checksum, and (when
gpgis present) the GPG signature. - Installs the binary under
~/.fiveonefour/versions/axp/<channel>/<version>/. - Writes a version-pinning wrapper at
~/.fiveonefour/bin/ax. - Puts
axon yourPATH— either by symlinking into a writable directory already onPATH(~/.local/bin,~/bin,/usr/local/bin, or/opt/homebrew/bin), or by appending aPATHexport to~/.zshrc/~/.bashrc.
Install methods
| Method | Command | Notes |
|---|---|---|
| Curl installer | One-liner above | All channels; creates the version-pinning wrapper. Supports ax@<version>, ax@branch:<branch>, and --list. |
| Homebrew | brew install 514-labs/tap/ax | Stable channel only. No pinning wrapper. |
| Update | ax update or brew upgrade ax | Latest stable release. |
| Source build | cargo install --path crates/axp-cli | Local development only. Not published to crates.io or npm. |
Homebrew (macOS + Linux)
If you use Homebrew (including Linuxbrew), install the latest stable CLI from our tap:
brew install 514-labs/tap/ax
ax --helpUpgrade later with brew upgrade ax, and remove it with brew uninstall ax. Brew downloads the same signed, checksum-verified binary as the installer script, and prints the same post-install next steps (sign-up, sign-in, and first-experiment guidance). It tracks the stable channel only — to install a specific version, a dev build, or a branch build, use the curl installer (see Versions). The Homebrew install does not create the AX_VERSION / .ax-version version-pinning wrapper; pin versions with the installer instead.
Sign up and connect the CLI
Request access: https://app.514.ax/sign-up
Sign in from the CLI:
ax auth loginThen continue with Getting Started.
Install options
Versions
Use a version from --list, for example:
bash <(curl -fsSL https://dl.514.ax/install.sh) ax@0.4.0-rpList available versions:
bash <(curl -fsSL https://dl.514.ax/install.sh) --listCheck the active CLI version with ax --version. Update to the latest stable release with ax update.
Version pinning
The curl installer writes a version-pinning wrapper at ~/.fiveonefour/bin/ax. On each invocation the wrapper picks which installed binary to run:
AX_VERSION(or the legacyAXP_VERSION) — an env var set to a version string orbranch:<name>..ax-version— a pin file in the current directory or any parent (first line is the version). The legacy name.axp-versionis still honored.- Otherwise the most recently installed stable-current (then dev-current) binary.
If the pinned version is not already cached under ~/.fiveonefour/versions/axp/, the wrapper downloads and installs it automatically.
Homebrew installs do not use this wrapper — pin with the curl installer when you need a fixed version.
Install location
By default, AXP installs into ~/.fiveonefour. Set FIVEONEFOUR_HOME before running the installer if you need a different install root.
Telemetry
The installer, uninstaller, and CLI may send product telemetry. Disable with:
DO_NOT_TRACK=1 bash <(curl -fsSL https://dl.514.ax/install.sh) axWhen logged in, CLI events include your saved user ID, email, and org ID; otherwise machine_id is used as a fallback. Disable with:
DO_NOT_TRACK=1 ax experiment run experiment.yamlFor persistent opt-out, set telemetry_enabled = false in ~/.fiveonefour/config.toml.
Troubleshooting
ax: command not found after install
The installer writes the wrapper to ~/.fiveonefour/bin/ax. If that directory was not already on PATH, it either symlinks into a PATH directory or appends an export to your shell rc.
Open a new shell, or source the rc file the installer updated:
# zsh
source ~/.zshrc
# bash
source ~/.bashrcOr add the path for the current session:
export PATH="$HOME/.fiveonefour/bin:$PATH"
ax --helpIf you installed with FIVEONEFOUR_HOME=<path>, use <path>/bin instead. See also Troubleshooting.
Checksum mismatch
If SHA-256 verification fails, retry the install. A transient download glitch is the usual cause. If it fails again with the same digest error, report it — the published binary and checksum should always match.
List available versions
bash <(curl -fsSL https://dl.514.ax/install.sh) --listPass stable, dev, or all after --list to narrow the channel.
Uninstall
Uninstall the wrapper and cached AXP versions:
bash <(curl -fsSL https://download.514.ax/uninstall.sh) --yesThe uninstaller removes installer-managed files only. Other files under ~/.fiveonefour, such as credentials or config, are left in place.