---
title: "Install the xConnect CLI plugin"
slug: "install-the-xconnect-cli-plugin"
abstract: "How to install and access the xConnect DevEx CLI plugin."
---
# Install the xConnect CLI plugin

The `Sitecore.DevEx.Extensibility.XConnect` [plugin](https://doc.sitecore.com/xp/en/developers/102/sitecore-experience-platform/xconnect-devex-cli-plugin.html "xConnect DevEx CLI plugin") extends the DevEx CLI with the `xconnect` command to handle [xConnect Data Tool](https://doc.sitecore.com/xp/en/developers/102/sitecore-experience-platform/xconnect-data-tools.html "xConnect Data Tools") tasks.

You can install the xConnect plugin with the `plugin` CLI command. This command extends the DevEx CLI with different commands.

To install the xConnect plugin:

- Enter the following command into a terminal:

    ```text
    dotnet sitecore plugin add -n Sitecore.DevEx.Extensibility.XConnect -t --version 2.0.0
    ```

To run the `xconnect` command, you must first run the DevEx CLI `login` command to [authenticate](https://doc.sitecore.com/xp/en/developers/102/sitecore-experience-platform/accessing-xconnect-data-tools.html "Accessing xConnect Data Tools"). You must be a member of the `sitecore\Sitecore XConnect Data Admin` role.