A blazingly fast console utility written in Rust. Interactive prompts guide you through every command.
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/near-cli-rs/releases/latest/download/near-cli-rs-installer.sh | sh
npm install -g near-cli-rs
npx near-cli-rs
cargo install near-cli-rs
irm https://github.com/near/near-cli-rs/releases/latest/download/near-cli-rs-installer.ps1 | iex
# Download portable binary from GitHub Releases
https://github.com/near/near-cli-rs/releases
Never remember complex command syntax again. Just type near and follow the guided prompts.
Recreate any CLI command from an on-chain transaction. Re-run or modify previous transactions with ease.
Sign transactions securely with your Ledger hardware wallet. Keep your keys offline and protected.
Control accounts using Multi-Party Computation. Distributed key management for enhanced security.
Turn any CLI command into a DAO proposal. Submit requests as a DAO member on behalf of the DAO account.
Learn as you go with the built-in --teach-me flag that explains every action.
Written in Rust for maximum performance. Instant startup, no runtime dependencies.
Keys stored securely in your system keychain. Full-access and function-call keys supported.
Seamlessly switch between mainnet, testnet, and custom networks with simple configuration.
Keys are securely stored in your system's native keychain (macOS Keychain, Windows Credential Manager, or Linux Secret Service). Legacy plaintext keys from near-cli are also supported for migration.
Yes! While the interactive mode is great for exploration, you can also pass all arguments directly for scripting. Use --quiet mode for minimal output suitable for pipelines.
Use near config to manage network configurations. You can set a default network or specify per-command with the network selection prompt.
near-cli-rs is a complete rewrite in Rust, offering faster startup times, no Node.js dependency, interactive prompts, and better security with system keychain integration. It's the recommended CLI for new users.