---
title: "Sitecore CLI command reference"
slug: "sitecore-cli-command-reference"
abstract: "Command reference for Sitecore Command Line Interface (CLI)."
---
# Sitecore CLI command reference

This section is a reference for available Sitecore CLI commands. Use it to look up commands and their purpose. For step-by-step guidance, see the relevant workflow topics.

To view available options for any command, use the `--help` option. For example:

```bash
dotnet sitecore login --help
dotnet sitecore ser package create --help
```

Some commands require additional CLI plugins. For more information, see the [Plugins](https://doc.sitecore.com/sai/en/developers/sitecoreai/sitecore-command-line-interface/plugins.html "Plugins") section.

## Commands

This table provides a quick overview of available commands. For detailed usage, see the individual command topics.

| Subcommand | Versions | Description |
| --- | --- | --- |
| index | 4.0 or later | Automates indexing operations. |
| init | All | Initializes a project configuration in the current folder. |
| itemres | 4.0 or later | Creates an item package in a resource file with configurable options. |
| login | All | Authenticates with a Sitecore instance. |
| plugin | 3.0 or later | Manages CLI plugins. |
| publish | All | Publishes content from the master database to the target environment. |
| ser, serialization | All | Performs serialization operations such as push, pull, and validation. |
| connect | 5.0 or later | Lets you connect your environment to a different existing environment and use its login information. |
| cloud | 5.0 or later | Interacts with SitecoreAI environments and resources. |
| edge | 5.1.25 or later | Manages Experience Edge API keys. |
| dbcleanup | 5.0 or later | Executes database cleanup according to the provided tasks. |
| environment | 5.2 or later | Manages environment configurations. |
