Install the Aptos CLI on Windows
Install via Python Script
Ensure you have Python 3.6+ installed by running python3 --version
python3 --versionIn PowerShell, run the install script:
iwr "https://aptos.dev/scripts/install_cli.py" -useb | Select-Object -ExpandProperty Content | python3Copy and run the command to update your PATH from the terminal.
Verify the script is installed by opening a new terminal and running aptos help.
aptos help.Install via Pre-Compiled Binaries (Backup Method)
Go to the Aptos CLI release page.
Expand “Assets” to see the pre-compiled binaries.
Download the zip file for Windows.
Unzip the downloaded file.
Right click, then copy the path to the executable.
Open PowerShell via the Start Menu.
Verify the installation by running the help command.
help command.Last updated