Upgrade the CLI

To upgrade your local installation of the CLI, follow the instructions for your operating system below.

Upgrade the CLI on Linux

Replace the horizon executable with the new version as follows:

horizon update -d                    # Download latest version
unzip horizon_linux.zip              # Expand archive
chmod +x horizon                     # Add execute permissions
mv horizon /path/to/bin/horizon      # Move to bin directory

Upgrade the CLI on Windows

Run horizon update -d to download a zip file containing the latest version of horizon.exe. Extract the file and move it to the bin directory where horizon.exe is stored. When prompted, confirm that you want to replace the old version of horizon.exe with the new version.

Upgrade the CLI on MacOS

Replace the horizon executable with the new version as follows:

horizon update -d                    # Download latest version
unzip horizon_macos.zip              # Expand archive
chmod +x horizon                     # Add execute permissions
mv horizon /path/to/bin/horizon      # Move to bin directory