{"meta":{"title":"Finding and installing plugins for GitHub Copilot CLI","intro":"Extend Copilot's functionality by installing plugins created by the community or by your team.","product":"GitHub Copilot","breadcrumbs":[{"href":"/en/copilot","title":"GitHub Copilot"},{"href":"/en/copilot/how-tos","title":"How-tos"},{"href":"/en/copilot/how-tos/copilot-cli","title":"Copilot CLI"},{"href":"/en/copilot/how-tos/copilot-cli/customize-copilot","title":"Customize Copilot CLI"},{"href":"/en/copilot/how-tos/copilot-cli/customize-copilot/plugins-finding-installing","title":"Plugins: Find and install"}],"documentType":"article"},"body":"# Finding and installing plugins for GitHub Copilot CLI\n\nExtend Copilot's functionality by installing plugins created by the community or by your team.\n\n## Introduction\n\nPlugins are packages that extend the functionality of Copilot CLI. You can install a plugin from a marketplace that you have registered with the CLI.\n\nFor more information, see [About GitHub Copilot plugins](/en/copilot/concepts/agents/about-plugins).\n\n> \\[!NOTE]\n> You can find help on using plugins by entering `copilot plugin [SUBCOMMAND] --help` in the terminal.\n\n## Finding plugins\n\nPlugins are collected together in marketplaces. A marketplace is a registry of plugins that you can browse and install from. You can add a marketplace to your CLI configuration, which allows you to use the CLI to browse and install plugins from that marketplace—see [Adding plugin marketplaces](#adding-plugin-marketplaces). Copilot comes with two marketplaces already registered by default: `copilot-plugins` and `awesome-copilot`.\n\nTo use the CLI to browse the plugins in one of your registered marketplaces:\n\n1. **Check which marketplaces are currently registered.**\n\n   In the terminal, list the available marketplaces by entering:\n\n   ```shell copy\n   copilot plugin marketplace list\n   ```\n\n   Alternatively, in an interactive session, enter:\n\n   ```copilot copy\n   /plugin marketplace list\n   ```\n\n2. **Browse the plugins in a registered marketplace.**\n\n   From the list of registered marketplaces, copy the name of the marketplace you want to browse—for example, `awesome-copilot`—then enter the following command, replacing `MARKETPLACE-NAME`:\n\n   ```shell copy\n   copilot plugin marketplace browse MARKETPLACE-NAME\n\n   ```\n\n## Installing plugins\n\nYou can install plugins from a registered marketplace. For information on how to register additional marketplaces, see [Adding plugin marketplaces](#adding-plugin-marketplaces).\n\nTo install a plugin, enter:\n\n```shell copy\ncopilot plugin install PLUGIN-NAME@MARKETPLACE-NAME\n```\n\nFor example, to install the `database-data-management` plugin from the `awesome-copilot` marketplace enter:\n\n```shell copy\ncopilot plugin install database-data-management@awesome-copilot\n```\n\nAlternatively, in an interactive session, enter:\n\n```copilot copy\n/plugin install PLUGIN-NAME@MARKETPLACE-NAME\n```\n\n## Managing installed plugins\n\n```bash\ncopilot plugin list                    # View installed plugins\ncopilot plugin update PLUGIN-NAME      # Update plugin to latest version\ncopilot plugin uninstall PLUGIN-NAME   # Remove plugin completely\n```\n\n## Adding plugin marketplaces\n\nTo add a marketplace to the list of registered marketplaces, enter the following command in the terminal:\n\n```shell copy\ncopilot plugin marketplace add OWNER/REPO\n```\n\nWhere OWNER/REPO identifies a repository on GitHub.com that has been configured as a CLI plugin marketplace.\n\nFor example to add the `claude-code-plugins` marketplace, hosted at <https://github.com/anthropics/claude-code>, enter:\n\n```shell copy\ncopilot plugin marketplace add anthropics/claude-code\n```\n\nAlternatively, in an interactive session, enter:\n\n```copilot copy\n/plugin marketplace add OWNER/REPO\n```\n\nIf a marketplace is located on the local file system, instead of on GitHub.com, use the path to the marketplace directory instead of OWNER/REPO. For example:\n\n```shell copy\ncopilot plugin marketplace add /PATH/TO/MARKETPLACE-DIRECTORY\n```\n\nIf a marketplace is located in a Git repository that is not hosted on GitHub.com, use the URL of the Git repository. For example:\n\n```shell copy\ncopilot plugin marketplace add https://gitlab.com/OWNER/REPO.git\n```\n\n## Removing plugin marketplaces\n\nTo remove a marketplace from the CLI enter:\n\n```shell copy\ncopilot plugin marketplace remove MARKETPLACE-NAME\n```\n\nOr, in an interactive session:\n\n```copilot copy\n/plugin marketplace remove MARKETPLACE-NAME\n```\n\n> \\[!NOTE]\n>\n> * When adding a marketplace you reference the marketplace using the OWNER/REPO of the GitHub repository that has been configured as a marketplace. When removing a marketplace, however, you reference the name of the marketplace as it appears in your list of registered marketplaces.\n> * If you attempt to remove a marketplace that has plugins installed, the command will fail with an error message that lists the plugins that are currently installed from that marketplace. Add the `--force` option to the command to remove the marketplace and uninstall all plugins that were installed from that marketplace.\n\n## Further reading\n\n* [Creating a plugin for GitHub Copilot CLI](/en/copilot/how-tos/copilot-cli/customize-copilot/plugins-creating)\n* [Creating a plugin marketplace for GitHub Copilot CLI](/en/copilot/how-tos/copilot-cli/customize-copilot/plugins-marketplace)"}