Install Specific Aptos CLI Versions (Advanced)
Last updated
Last updated
If you need a specific version of the Aptos CLI, you can build it directly from the Aptos source code. This installation method is primarily used to interact with specific features on Devnet which may not have made it to Testnet / Mainnet yet. You may also want to follow these steps if you are running an architecture which does not play well with the existing releases / pre-compiled binaries.
If you do not need this advanced method, you can find the normal install steps .
cargo
installed by following the steps on .cargo build --package aptos --profile cli
.The binary will be available at target/cli/aptos
.
target/cli/aptos help
.These help instructions also serve as a useful detailed guide for specific commands.
cargo
installed by following the steps on .cargo build --package aptos --profile cli
.The binary will be available at target\cli\aptos.exe
.
target\cli\aptos.exe help
.These help instructions also serve as a useful detailed guide for specific commands.