---
title: "Install the XM Cloud plugin"
slug: "install-the-xm-cloud-plugin"
abstract: "Use the XM Cloud plugin to manage SitecoreAI instances"
---
# Install the XM Cloud plugin

The XM Cloud CLI plugin for SitecoreAI allows you to manage your organization's SitecoreAI projects.

> [!note]
> **XM Cloud is now SitecoreAI**
> Some code examples, images, and UI labels may still use XM Cloud while engineering assets are being updated.

Before you can install the XM Cloud plugin version 2.x, you must [install the Sitecore CLI](https://doc.sitecore.com/sai/en/developers/sitecoreai/sitecore-command-line-interface/install-and-setup-sitecore-cli/install-sitecore-command-line-interface.html "Install Sitecore Command Line Interface") version 7.x or later. If you are using an earlier version of Sitecore CLI, install XM Cloud plugin version 1.x instead.

If you have an older version of the CLI, [upgrade the CLI](https://doc.sitecore.com/sai/en/developers/sitecoreai/sitecore-command-line-interface/install-and-setup-sitecore-cli/upgrade-the-sitecore-command-line-interface-to-the-latest-version.html).

To install the XM Cloud plugin:

1. In the root directory of your SitecoreAI project, run the following command:

    ```
    dotnet sitecore plugin add -n Sitecore.DevEx.Extensibility.XMCloud
    ```
    > [!note]
    > If you already installed an older version of the plugin, this command upgrades your XM Cloud plugin to the latest version.

2. When the script completes, run the following command to verify the XM Cloud plugin installation:

    ```
    dotnet sitecore cloud -h
    ```

    If the installation was successful, the command prints out the list of [XM Cloud plugin commands](https://doc.sitecore.com/sai/en/developers/sitecoreai/sitecore-command-line-interface/sitecore-cli-command-reference/the-cli-cloud-command/the-cli-cloud-command.html "The CLI cloud command").