---
title: "Content Hub ONE command line interface (CLI)"
slug: "content-hub-one-command-line-interface--cli-"
abstract: "An introduction to the command line interface (CLI) for Content Hub ONE, including configuration information and links to related procedures."
---
# Content Hub ONE command line interface (CLI)

The Content Hub ONE command line interface (CLI) is a versatile tool that allows you to efficiently manage content types, content items, and media items within a Content Hub ONE instance, directly from the command line, and deliver the content to the front-end system of your choice. It leverages the [Client SDK](https://doc.sitecore.com/ch-one/en/developers/content-hub-one/content-hub-one-client-sdk.md "Content Hub ONE Client SDK") to communicate with your Content Hub ONE instances via the [REST API](https://doc.sitecore.com/ch-one/en/developers/content-hub-one/content-management-api.md "Content Management API"). With the CLI, you can:

- Serialize and deserialize content, for a seamless transfer of data between different Content Hub ONE instances.
- Automate interactions with your Content Hub ONE tenant.

> [!important]
> To use the localization features, you need version 2.0.1 and later. To see which version you have, use the `ch-one-cli --version` [command](https://doc.sitecore.com/ch-one/en/developers/content-hub-one/local-installation.html#UUID-13224db1-187c-d281-06b0-1b9e6fe6d5b5_para-idm273442276122580).

## Configurations

All CLI-related configurations are stored in the **.ch-one-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%\.sitecore\ch-one-cli` |
| Linux/macOS | `$HOME/.sitecore/ch-one-cli` |
| Docker | `<your volume>` |

After you've [Installed the CLI](https://doc.sitecore.com/ch-one/en/developers/content-hub-one/content-hub-one-command-line-interface--cli-/install-the-content-hub-one-cli.html "Install the Content Hub ONE CLI"), you can [log into it](https://doc.sitecore.com/ch-one/en/developers/content-hub-one/content-hub-one-command-line-interface--cli-/log-in-with-the-content-hub-one-cli.html "Log in with the Content Hub ONE CLI") using your client credentials.

> [!note]
> For the best developer experience, we recommend you use the Visual Studio Code editor.

> [!tip]
> An [overview of how to use the Content Hub ONE CLI](https://www.youtube.com/watch?v=akfHgurFwds) is available on the Discover Sitecore channel.