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.
Terminal
brew update
brew install aptos
Open another terminal and run aptos help
to verify the CLI is installed.
Terminal
aptos help
⚠️
If brew
does not work for you, you can try the steps here: Install Specific Aptos CLI Versions (Advanced)
Upgrading the CLI
Upgrading the CLI with brew just takes 2 commands:
Terminal
brew update
brew upgrade aptos