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

As the name suggests, Sitecore Command Line Interface (CLI) is a command-line tool named `sitecore`, and you add subcommands and options to accomplish different tasks.

To discover additional options for each of the commands listed in the following table, you add the `--help` option at the end. For example, `dotnet sitecore login --help` or `dotnet sitecore ser package create --help`.

| Subcommand | Description |
| --- | --- |
| `init` | Initializes a project configuration in the current folder.<br><br>> [!note]<br>> For more information, see [Install Sitecore Command Line Interface](https://doc.sitecore.com/xp/en/developers/100/developer-tools/install-sitecore-command-line-interface.html). |
| `login` | Logs in to a Sitecore instance.<br><br>> [!note]<br>> For more information, see [Log in to a Sitecore instance with Sitecore Command Line Interface](https://doc.sitecore.com/xp/en/developers/100/developer-tools/log-in-to-a-sitecore-instance-with-sitecore-command-line-interface.html). |
| `publish` | Publishes all content from the Master database to the Web database. Install the [publishing plugin](https://doc.sitecore.com/xp/en/developers/100/developer-tools/publishing-plugin.html) to access this command.<br><br>> [!note]<br>> For more information, see [The CLI publish command](https://doc.sitecore.com/xp/en/developers/100/developer-tools/the-cli-publish-command.html). |
| `ser, serialization` | Handles the serialization of items. Install the [serialization plugin](https://doc.sitecore.com/xp/en/developers/100/developer-tools/serialization-plugin.html) to access this command.<br><br>> [!note]<br>> For more information, see [The CLI serialization command](https://doc.sitecore.com/xp/en/developers/100/developer-tools/the-cli-serialization-command.html). |