---
title: "Plugins"
slug: "plugins"
abstract: ""
---
# Plugins

By default, the Sitecore CLI includes a minimal set of commands. Additional capabilities are added by installing plugins, which extend the CLI with new commands and features.

## Why plugins are used

Plugins allow the CLI to remain modular and flexible. Instead of installing all functionality by default, you can add only the features you need.

For example:

- Serialization commands (`ser`) are provided by the serialization plugin
- Publishing commands are provided by the publishing plugin
- Indexing commands are provided by the indexing plugin

## Manage plugins

Use the `dotnet sitecore plugin` command to manage CLI plugins.

To install a plugin:

```bash
dotnet sitecore plugin add -n <plugin-name>
```

To list installed plugins:

```bash
dotnet sitecore plugin list
```

To remove a plugin:

```bash
dotnet sitecore plugin remove -n <plugin-name>
```

## Available plugins

The following plugins extend the Sitecore CLI with additional functionality:

- Serialization plugin – enables content serialization commands
- Publishing plugin – enables content publishing commands
- Indexing plugin – enables indexing operations
- Items as Resources plugin – enables packaging items as resources
- XM Cloud plugin – provides commands for working with SitecoreAI environments
- Experience Edge plugin – enables logging in, choosing a tenant, and managing keys for your Experience Edge GraphQL endpoint
- Database Cleanup plugin – enables database cleanup operations

For details about specific commands provided by each plugin, see the [CLI Command Reference page](https://doc.sitecore.com/sai/en/developers/sitecoreai/sitecore-command-line-interface/sitecore-cli-command-reference.html "Sitecore CLI command reference") and the individual plugin topics.

## When to install plugins

You typically install plugins when:

- You need to use a command that is not available by default
- You are working with specific workflows such as serialization or publishing
- You are setting up a development or CI/CD environment
