Content Hub command line interface (CLI)

With the CLI, you can manage content and media from a Content Hub instance. The CLI uses the SDK to communicate with Content Hub instances through the API, based on commands in the form of lines of text.

All CLI-related configurations are stored in the .ch-cli subdirectory of the current user's directory at the path specified in the following table, depending on the operating system.

Operating system Path
Windows %USERPROFILE%\.ch-cli
Linux/macOS $HOME/.ch-cli
Docker <your volume>

Before you can use the Content Hub CLI, you must:

  1. Install and run the CLI.
  2. Log in with the CLI.