---
title: "Install the Content Hub CLI"
slug: "install-the-content-hub-cli"
abstract: "How to install the Content Hub CLI locally, using Docker, or using .NET tools."
---
# Install the Content Hub CLI

You can install the Content Hub CLI on any of the following platforms:

- [Windows, macOS, and Linux](https://doc.sitecore.com/ch/en/developers/cloud-dev/local-installation.html "Local installation")
- [Docker](https://doc.sitecore.com/ch/en/developers/cloud-dev/docker-installation.html "Docker installation")
- [.NET](https://doc.sitecore.com/ch/en/developers/cloud-dev/-net-tools-installation.html ".NET tools installation")

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`.