Install the Aptos CLI
The Aptos command line interface (CLI) helps you develop apps, debug issues, and operate nodes. See Use Aptos CLI for Configuration for all possible uses.
You may install the Aptos CLI in any of these ways:
- Install the Aptos CLI with Homebrew - Recommended for macOS.
- Install the Aptos CLI by script - Recommended for Linux, Windows (NT), and Windows (WSL). MacOS is also supported.
These methods are recommended only if you have issues with the above methods:
- Download the prebuilt Aptos CLI binaries - Ensures you get a stable version of the Aptos CLI built on a regular cadence from the
main
upstream development branch. - Build the Aptos CLI from source code - Allows you to build from any of the Aptos branches, including
devnet
,testnet
,mainnet
, and the latest code in themain
upstream development branch.
(Optional) Installing the Move Prover
Optionally, you can install the Move Prover; however, most users will not need it and it is not supported on all platforms.