Aptos CLI Release v2.1.1
github-actions
released this
27 Sep 17:56
·
2821 commits
to main
since this release
Changelog
[2.1.1] - 2023/09/27
Added
- Added an option
--print-metadata
to the commandaptos move download
to print out the metadata of the package to be downloaded.- Example:
aptos move download --account 0x1 --package AptosFramework --url https://mainnet.aptoslabs.com/v1 --print-metadata
- Example:
Updated
- The
--with-faucet
flag has been removed fromaptos node run-local-testnet
, we now run a faucet by default. To disable the faucet use the--no-faucet
flag. - Breaking change: When using
aptos node run-local-testnet
we now expose a transaction stream. Learn more about the transaction stream service here: https://aptos.dev/indexer/txn-stream/. Opt out of this with--no-txn-stream
. This is marked as a breaking change since the CLI now uses a port (50051 by default) that it didn't used to. If you need this port, you can tell the CLI to use a different port with--txn-stream-port
.
Instructions
Update instructions
If you have already installed the CLI:
- With brew:
brew upgrade aptos
- With the prepackaged CLI:
aptos upgrade
Installation instructions
- Installation instructions page
- Managed install
- macOS: Install with brew
- Linux / Windows: install with a python script for other platforms