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
To list installed plugins:
bash
To remove a plugin:
bash
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
- Tunneling plugin – enables tunneling capabilities for local development
For details about specific commands provided by each plugin, see the CLI Command Reference page 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
If you have suggestions for improving this article, let us know!