Skip to main content

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

  1. Ensure you have brew installed https://brew.sh/
  2. Open a terminal and enter the following commands
    brew update        # Gets the latest updates for packages
brew install aptos # Installs the Aptos CLI
  1. 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

Additional details

Aptos CLI homebrew Readme