Introducing icp-cli v0.1.0 - The First Official Release
We are thrilled to announce the first official release of icp-cli - a modern, fast, and developer-friendly command-line tool for building and deploying applications on the Internet Computer.
After months of beta testing and invaluable community feedback, icp-cli v0.1.0 is here with powerful new features and the easiest installation experience yet!
Quick Install via npm
Getting started is now as simple as:
npm install -g @icp-sdk/icp-cli @icp-sdk/ic-wasm
That’s it! The CLI automatically downloads the appropriate binary for your platform (macOS, Linux, or Windows).
What’s New Since Beta
Canister Snapshot Management
Full snapshot lifecycle management is now built-in:
# Create a snapshot of your canister's state
icp canister snapshot create my_canister
# List all snapshots
icp canister snapshot list my_canister
# Restore from a snapshot
icp canister snapshot restore my_canister <snapshot_id>
# Delete a snapshot
icp canister snapshot delete my_canister <snapshot_id>
Note: Canister migration is actively being worked on and will be supported soon.
Proxy Call Support
Route canister calls through a proxy canister with the new --proxy flag:
# Forward a call through a proxy canister
icp canister call my_canister my_method --proxy <PROXY_CANISTER_ID>
# Include cycles with the proxied call
icp canister call my_canister my_method --proxy <PROXY_CANISTER_ID> --cycles 1000000
HSM Identity Support
For enhanced security, icp-cli now supports Hardware Security Module (HSM) identities for signing transactions.
Enhanced Identity Management
icp identity export- Export your identity’s PEM fileicp identity rename- Rename existing identitiesicp identity delete- Remove identities you no longer need
Canister Settings
- Added
log_visibilityconfiguration to control who can access canister logs
Versioned Documentation
Our documentation now supports versioning, so you can always find docs matching your installed version at https://cli.icp.build which currently redirects to gh pages.
Call to Action
Test and Provide Feedback
We want to hear from you! Try out icp-cli and let us know:
- What works well?
- What could be improved?
- What features would you like to see next?
Report issues and share feedback: GitHub Issues
Help Us Get to Homebrew (
required)
We’d love to offer icp-cli as an official Homebrew package, but Homebrew requires repositories to have 75+ GitHub stars for inclusion in their core formulas.
Please star these repositories to help us reach this milestone:
- dfinity/icp-cli - The main CLI repository
- dfinity/ic-wasm - Essential dependency for WASM optimization
Every star counts and brings us closer to brew install icp-cli!
Resources
- Documentation: https://cli.icp.build
- GitHub: GitHub - dfinity/icp-cli: The command-line interface for the ICP SDK.
- npm Package: @icp-sdk/icp-cli
Thank You
A huge thank you to everyone who tested the beta releases and provided feedback. Your contributions have been instrumental in shaping this release.
We’re excited to see what you’ll build with icp-cli!
Happy building on the Internet Computer!