Helix TeamHub CLI User Guide (2024.2 Enterprise)

# Upgrade Helix TeamHub CLI

Note

Helix TeamHub supports Helix TeamHub CLI for Git and Helix Git repositories.

This section will help you to upgrade the Helix TeamHub CLI tool.

1. Download the hth-cli binary from the Perforce hth-cli download page.
2. Uncompress the downloaded file, this creates a directory with the same name as the downloaded file.
3. Delete the .hth/cli directory. The location the .hth/cli directory will depend on the operating system you are using:

- Linux: created in the home directory ~/
- macOS: created in the home directory ~/
- Windows: created in C:\Users\<username>

Note

If you do not delete the .hth/cli directory, you will get the following error when you run hth setup in the next step:

✘ Already set up under /Users/bob/.hth/cli.

4. Run hth setup to connect to your Helix TeamHub account and create an active session:

    ❯ hth setup
      Setting up hth-cli.
      Input details of your Helix TeamHub installation.
    ? Instance URL https://my.helixteamhub.com
    ? User ID bob
    ? Password ********
    ✓ hth-cli is set up for /Users/bob/.hth/cli.
      Run hth config edit --global to edit the global configuration file.

Tip

You can invalidate the session at any time by using hth logout.

5. This completes your hth-cli tool upgrade.

Your search for returned result(s).