Skip to content

Upgrading the CLI

We release new features, bug fixes, and other updates for the h3-cli on monthly boundaries. Upgrade your installation using one of the methods below.

From the CLI, enter: h3 upgrade

Support for this command started with the June, 2023 release. If this command throws an error, see Troubleshooting below.

Run this command from h3-cli's parent directory (i.e., the directory that contains the h3-cli/ directory):

curl -L https://downloads.horizon3ai.com/utilities/cli/easy_install.sh | bash

Previously downloaded the repo as a zip file? Then re-download the zip file and unzip it to the same location (in other words, replace your existing h3-cli installation with the new zip).

Using the OVA host virtual machine? If you update the host using the Host Utility script, this will also update the h3-cli version and any Runners on the host.

Checking the current version

As of June, 2023, you can view your current version of h3-cli via:

h3 version

Updating the source location

Prior to July, 2025, h3-cli pulled CLI (and Runner) updates from github.com. As of July, 2025, new CLI deployments and new Runner installations now pull from downloads.horizon3ai.com.

If you have older installs and want to switch their source (for future updates) to downloads.horizon3ai.com, log into your NodeZero host and run h3 upgrade ng. This will pull future updates from the new location. It will also remove the requirement for network access to github.com.

Troubleshooting

Here are some common errors, with steps to resolve them.

ERROR: unrecognized command: "upgrade"

This indicates that you are on an earlier version of h3-cli that does not support the h3 upgrade command. Instead, upgrade h3-cli using Run Install Script or one of its adjacent options above.

mkdir: cannot create directory ‘//.h3-cli-install-tmp’: Permission denied

This error indicates that you are on an old version of h3-cli that incorporates a known bug. To resolve this, connect to the host and use either h3 upgrade ng or the Run Install Script option above.

Next step

Using the CLI
Additional info about how to deploy, schedule pentests, monitor, and parse results.