System Requirements
Choose your installation method based on your system setup:
- Python users: Python 3.10+ and pip
- Nix users: Nix package manager
In this guide, we’ll walk through installing and setting up the Torus CLI on your system.
The CLI provides command-line access to manage keys, tokens, agents, and network operations.
The CLI enables developers and power users to manage Torus operations from the command line - essential for automation, server deployments, and advanced agent management tasks.
System Requirements
Choose your installation method based on your system setup:
Choose your installation method
Select the method that matches your system setup.
Install the Torus CLI using pip:
pip install torusdk
For Poetry users, add to your project:
poetry add torusdk
Clone and install using Nix:
git clone https://github.com/renlabs-dev/torus-clicd torus-clinix profile install .
Verify the installation
Check that the CLI is installed correctly:
torus --version
You should see the version number displayed.
Test basic functionality
Run a simple command to ensure everything works:
torus network params
This will display the current network parameters, confirming your CLI can connect to Torus.
Set up shell completions (optional)
Enable tab completion for better usability:
# For bash userstorus --install-completion bash
# For zsh userstorus --install-completion zsh
All Done
Your Torus CLI is now ready to use! You can manage keys, check balances, and interact with agents.
Now that you have the CLI installed, here are the main command categories:
Key Management:
torus key create my-key # Create a new keytorus key list # List all keystorus key balances # Show key balances
Balance Operations:
torus balance show <address> # Check balancetorus balance transfer <key> <amount> <recipient> # Send tokens
Network Information:
torus network params # Network parameterstorus misc circulating-supply # Total supply info
Now that you have the CLI set up, you can:
Connect with the community:
Key Management
Balance Operations