Install the Aptos CLI with Brew
Recommended on macOS, brew
is a package manager that allows for installing and updating packages in a single
command.
Not supported on Windows
Brew is not supported fully on Windows
Installation
- Ensure you have
brew
installed https://brew.sh/ - Open a terminal and enter the following commands
brew update # Gets the latest updates for packages
brew install aptos # Installs the Aptos CLI
- You can now get help instructions by running
aptos help
. You may have to open a new terminal window.
aptos help
Upgrading the CLI
Upgrading the CLI with brew is very simple, simply run
brew update # Gets the latest updates for packages
brew upgrade aptos # Upgrades the Aptos CLI