The Aptos command line interface (CLI) is a tool to help you compile and test Move contracts. It can also help you quickly play with Aptos features on-chain.

For more advanced users, the CLI can also be used to run a private Aptos network (to help test code locally) and can be helpful managing a network node.

## 📥 Install the Aptos CLI

[](#-install-the-aptos-cli)

[Mac](/build/cli/install-cli/install-cli-mac) Install Aptos CLI via homebrew

[Windows](/build/cli/install-cli/install-cli-windows) Install Aptos CLI on Windows via powershell script or pre-compiled binary

[Linux](/build/cli/install-cli/install-cli-linux) Install Aptos CLI on Linux via shell script or pre-compiled binary

[Advanced (Install Specific Versions)](/build/cli/install-cli/install-cli-specific-version) Build a specific version of the Aptos CLI from source

## ⚙️ Setup the Aptos CLI

[](#️-setup-the-aptos-cli)

[Setup the CLI](/build/cli/setup-cli) Setup and configure the Aptos CLI

[Advanced (Move Prover)](/build/cli/setup-cli/install-move-prover) Setup and install the Move Prover

## 🛠️ Using the Aptos CLI

[](#️-using-the-aptos-cli)

[Move Contracts](/build/cli/working-with-move-contracts) Compile, Publish, Simulate, and Benchmark Move Contracts

[Trying things On-chain](/build/cli/trying-things-on-chain) Interact with Aptos, create accounts, query accounts, use a hardware device like Ledger

[Running a Local Network](/build/cli/running-a-local-network) Run a local node / network