Install the Aptos CLI on Mac
For Mac, the easiest way to install the Aptos CLI is with the package manager brew
.
Installation
- Ensure you have
brew
installed https://brew.sh/. - Open a new terminal and enter the following commands.
brew update
brew install aptos
- Open another terminal and run
aptos help
to verify the CLI is installed.
aptos help
tip
If brew
does not work for you, you can also use the steps here: Install Specific Aptos CLI Versions (Advanced)
Upgrading the CLI
Upgrading the CLI with brew just takes 2 commands:
brew update
brew upgrade aptos