Aptos CLI – Install, Setup, and Use the Command-Line Interface
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
Mac Install Aptos CLI via homebrew
Windows Install Aptos CLI on Windows via powershell script or pre-compiled binary
Linux Install Aptos CLI on Linux via shell script or pre-compiled binary
⚙️ Setup the Aptos CLI
🛠️ Using the Aptos CLI
Move Contracts Compile, Publish, Simulate, and Benchmark Move Contracts
Trying things On-chain Interact with Aptos, create accounts, query accounts, use a hardware device like Ledger