---
title: "The CLI cloud command"
slug: "the-cli-cloud-command"
abstract: "Reference for the Sitecore CLI cloud command for managing SitecoreAI projects, environments, and deployments."
---
# The CLI cloud command

The Sitecore XM Cloud plugin provides the `cloud` command. The command has subcommands that help you manage SitecoreAIprojects, environments, and deployments from the Sitecore CLI.

## Usage

You can use the `cloud` command as follows:

```bash
dotnet sitecore cloud [options]
```

To use one of the `cloud` subcommands:

```bash
dotnet sitecore cloud [subcommand] [options]
```

Subcommands have subcommands (operations) and options of their own. For detailed usage information, refer to the documentation of each `cloud` subcommand.

## Options

The `cloud` command has the following option:

| Option | Description |
| --- | --- |
| -?, -h, --help | When provided, the CLI displays developer help and usage information about the command. |

## Subcommands

You can use the following `cloud` subcommands:

- [`deployment`](https://doc.sitecore.com/sai/en/developers/sitecoreai/sitecore-command-line-interface/sitecore-cli-command-reference/the-cli-cloud-command/the-cloud-deployment-command.html "The cloud deployment command") - provides subcommands for managing and interacting with deployments for a given environment.
- [`editinghost`](https://doc.sitecore.com/sai/en/developers/sitecoreai/sitecore-command-line-interface/sitecore-cli-command-reference/the-cli-cloud-command/the-cloud-editinghost-command.html "The cloud editinghost command") - provides subcommands for managing and interacting with editing hosts for a given environment.
- [`environment`](https://doc.sitecore.com/sai/en/developers/sitecoreai/sitecore-command-line-interface/sitecore-cli-command-reference/the-cli-cloud-command/the-cloud-environment-command.html "The cloud environment command") - provides subcommands for managing and interacting with environments for a given project.
- [`login`](https://doc.sitecore.com/sai/en/developers/sitecoreai/sitecore-command-line-interface/sitecore-cli-command-reference/the-cli-cloud-command/the-cloud-login-command.html "The cloud login command") - authenticates a person through the CLI with an organization, granting them access tokens and claims based on authorization.
- [`logout`](https://doc.sitecore.com/sai/en/developers/sitecoreai/sitecore-command-line-interface/sitecore-cli-command-reference/the-cli-cloud-command/the-cloud-logout-command.html "The cloud logout command") - logs you out of an environment.
- [`organization`](https://doc.sitecore.com/sai/en/developers/sitecoreai/sitecore-command-line-interface/sitecore-cli-command-reference/the-cli-cloud-command/the-cloud-organization-command.html "The cloud organization command") - provides subcommand for managing your organizations.
- [`project`](https://doc.sitecore.com/sai/en/developers/sitecoreai/sitecore-command-line-interface/sitecore-cli-command-reference/the-cli-cloud-command/the-cloud-project-command.html "The cloud project command") - provides subcommands for managing and interacting with projects for a given organization.
