> ## Documentation Index
> Fetch the complete documentation index at: https://hedera-0c6e0218-mintlify-bc559771.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Network Plugin

> Inspect, switch, and manage Hedera network targets from the command line using the Hiero CLI Network plugin, including mainnet, testnet, and previewnet.

## Full Command Reference

<Accordion title="Network List">
  List all available networks with their configuration and health status.
</Accordion>

<Accordion title="Network Use">
  Switch the active network to the specified network name.

  <ResponseField name="-g, --global" type="string" required>
    Network name (testnet, mainnet, previewnet, localnet)
  </ResponseField>
</Accordion>

<Accordion title="Network Get-Operator">
  Get operator credentials for the **current** network. The active network is whichever you set with `network use` or the global `-N` / `--network` flag on the root command.
</Accordion>

<Accordion title="Network Set-Operator" defaultOpen="true">
  Set operator credentials for signing transactions on the **current** network (see `network use` or root `-N` / `--network`).<br /><br />
  **⚠️ 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.**

  <ResponseField name="-o, --operator" type="string" required>
    Operator credentials: name or `account-id:private-key` pair, key reference, or account alias.
  </ResponseField>

  <ResponseField name="-k, --key-manager" type="string(local|local_encrypted)">
    Key manager to use: local or local\_encrypted (defaults to config setting).
  </ResponseField>
</Accordion>
