Install and run the Content Hub ONE CLI
You can install the Content Hub ONE CLI on any of the following platforms:
Where example commands are provided in this section, the syntax assumes you are using the .NET framework. If you use any of the other platforms, replace any instance of ch-one-cli
as follows:
- Windows -
ch-one-cli.exe
- macOS or Linux -
./ch-one-cli
- Docker -
docker run --rm -it -v ch-one-cli-data:/root/.sitecore/.ch-one-cli scr.sitecore.com/sch/ch-one-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-one-cli --help
. To narrow down the help output to the tenant
command, enter ch-one-cli tenant --help
.