Content Hub Tip #31: How to install Content Hub ONE CLI

Content Hub Tips logo

I needed some help with installing the Content Hub ONE CLI. Unfortunately, the Sitecore documentation doesn't tell the correct story. With the help of Christos, I was able to query the NuGet server of Sitecore to see which packages were available.

I've added the Nuget source to Visual Studio and opened it. Here you can view the actual packages that are available on the NuGet server. 

Visual Studio Nuget explorer

The one that I'm interested in is Sitecore.ContentHubOne.Cli. By changing the install command from the documentation from:

choco install sitecore.ch.cli --source https://nuget.sitecore.com/resources/v2/

to

choco install Sitecore.ContentHubOne.Cli --source https://nuget.sitecore.com/resources/v2/

Run this command in an Elevated command prompt and you're good to go!

Until next time!