Full Command Reference
Network List
Network List
List all available networks with their configuration and health status.
Network Use
Network Use
Switch the active network to the specified network name.
Network name (testnet, mainnet, previewnet, localnet)
Network Get-Operator
Network Get-Operator
Get operator credentials for a specific network.
Target network (defaults to current network)
Network Set-Operator
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.
⚠️ 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.
Operator credentials: name or
account-id:private-key pair.Target network (defaults to current network).
Key manager to use: local or local_encrypted (defaults to config setting).