Skip to main content

Full Command Reference

List all available networks with their configuration and health status.
Switch the active network to the specified network name.
-N, --network
string
required
Network name (testnet, mainnet, previewnet, localnet)
Get operator credentials for a specific network.
-N, --network
string
Target network (defaults to current network)

Network Set-Operator

Set operator credentials for signing transactions on a specific network.

⚠️ Use this command to set the operator to avoid triggering the setup wizard asking you to set up an operator account. This is important when using the Hiero CLI in a CI/CD environment.
-o, --operator
string
required
Operator credentials: name or account-id:private-key pair.
-N, --network
string
Target network (defaults to current network).
-k, --key-manager
string(local|local_encrypted)
Key manager to use: local or local_encrypted (defaults to config setting).