Installation
Getting the Axiom CLI on your machine.
The Axiom CLI is a unified tool used by both backend and frontend developers to manage behavioral contracts, build artifacts, and generate client-side code.
Install the CLI
Choose your preferred installation method. Both methods support macOS and Linux.
Run the following command in your terminal:
curl -fsSL https://axiomcore.dev/install | shThe installer automatically sets binaries to /usr/local/bin. Because this is a system path, you will likely be prompted for your sudo password during the process.
If you use Homebrew, you can install via our official tap:
brew install AxiomCore/tap/axiomInstalling via Homebrew does not require sudo permissions as it installs within the Homebrew prefix.
Verification
Once installed, verify that the CLI is correctly configured in your environment:
axiom --versionWhat gets installed?
The installation process provides two essential binaries:
axiom: The primary interface. Used forinit,build,pull, and interacting with the Axiom Hub.acore: The specialized language engine. It handles the evaluation of your.acore(PKL) configuration files.
Upgrading
Axiom Core is frequently updated with new features and runtime optimizations. To upgrade to the latest version:
Simply run the installation command again to overwrite the existing binaries with the latest version:
curl -fsSL https://axiomcore.dev/install | shUse the standard Homebrew upgrade command:
brew upgrade AxiomCore/tap/axiomNext Steps
Now that you have the CLI, choose your path based on your role: