Connecting to a Cluster

Connecting to a Cluster

See Huione Clusters for general information about the available clusters.

Configure the command-line tool

You can check what cluster the Huione command-line tool (CLI) is currently targeting by running the following command:

huione config get

Use Huione config set command to target a particular cluster.

After setting a cluster target, any future subcommands will send/receive information from that cluster.

For example to target the Testnet cluster, run:

huione config set --url http://43.218.192.91:8899:8889

Ensure Versions Match

Though not strictly necessary, the CLI will generally work best when its version matches the software version running on the cluster.

To get the locally-installed CLI version, run:

huione --version

To get the cluster version, run:

huione cluster-version

Ensure the local CLI version is greater than or equal to the cluster version.

Last updated