Install the Content Hub CLI
You can install the Content Hub CLI on any of the following platforms:
Where example commands are provided, the syntax assumes you are using the .NET framework. If you use any of the other platforms, replace any instance of ch-cli as follows:
-
Windows -
ch-cli.exe -
macOS or Linux -
./ch-cli -
Docker -
docker run --rm -it -v ch-cli-data:/root/.ch-cli scr.sitecore.com/sch/ch-cli
Tip
You can explore the available commands and options using the --help option. To get an overview of the available commands and options on the root level, enter ch-cli --help. To narrow down the help output to the login command, enter ch-cli endpoint --help.