Skip to content

Commit 410ade9

Browse files
CopilothubwriterCopilot
authored
docs(copilot-cli): remove Git repo and local path plugin installation methods (#60965)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: hubwriter <54933897+hubwriter@users.noreply.github.com> Co-authored-by: hubwriter <hubwriter@github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 518d3f1 commit 410ade9

1 file changed

Lines changed: 3 additions & 48 deletions

File tree

‎content/copilot/how-tos/copilot-cli/customize-copilot/plugins-finding-installing.md‎

Lines changed: 3 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ docsTeamMetrics:
1616

1717
## Introduction
1818

19-
Plugins are packages that extend the functionality of {% data variables.copilot.copilot_cli_short %}. You can install a plugin from a marketplace that you have registered with the CLI, from a Git repository, or from a local path.
19+
Plugins are packages that extend the functionality of {% data variables.copilot.copilot_cli_short %}. You can install a plugin from a marketplace that you have registered with the CLI.
2020

2121
For more information, see [AUTOTITLE](/copilot/concepts/agents/copilot-cli/about-cli-plugins).
2222

@@ -26,8 +26,6 @@ For more information, see [AUTOTITLE](/copilot/concepts/agents/copilot-cli/about
2626

2727
Plugins 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). {% data variables.product.prodname_copilot_short %} comes with two marketplaces already registered by default: `copilot-plugins` and `awesome-copilot`.
2828

29-
Alternatively, you can search for plugin marketplaces online and then add a plugin directly from a repository.
30-
3129
To use the CLI to browse the plugins in one of your registered marketplaces:
3230

3331
1. **Check which marketplaces are currently registered.**
@@ -55,11 +53,9 @@ To use the CLI to browse the plugins in one of your registered marketplaces:
5553

5654
## Installing plugins
5755

58-
Typically, you'll install a plugin from one of your registered marketplaces. However, you can also install a plugin directly from a Git repository, or from a local path.
59-
60-
For information on how to register additional marketplaces, see [Adding and removing plugin marketplaces](#adding-and-removing-plugin-marketplaces).
56+
You can install plugins from a registered marketplace. For information on how to register additional marketplaces, see [Adding plugin marketplaces](#adding-plugin-marketplaces).
6157

62-
### Install from a registered marketplace
58+
To install a plugin, enter:
6359

6460
```shell copy
6561
copilot plugin install PLUGIN-NAME@MARKETPLACE-NAME
@@ -77,43 +73,6 @@ Alternatively, in an interactive session, enter:
7773
/plugin install PLUGIN-NAME@MARKETPLACE-NAME
7874
```
7975

80-
### Install directly from an online Git repository
81-
82-
You can install a plugin directly from a repository, rather than doing so using a registered marketplace.
83-
84-
To install a plugin directly from a repository **on {% data variables.product.prodname_dotcom_the_website %}**, enter:
85-
86-
```shell copy
87-
copilot plugin install OWNER/REPO
88-
```
89-
90-
To install a plugin from **any online Git repository**, enter:
91-
92-
```shell copy
93-
copilot plugin install URL-OF-GIT-REPO
94-
```
95-
96-
For example, `copilot plugin install https://gitlab.com/OWNER/REPO.git`.
97-
98-
> [!IMPORTANT]
99-
> For these commands to work, the repository must contain a `plugin.json` file in a `.plugin`, `.github/plugin`, or `.claude-plugin` directory, or at the root of the repository.
100-
101-
To install a plugin directly from a repository on {% data variables.product.prodname_dotcom_the_website %} where the `plugin.json` file is located somewhere other than `.github/plugin`, `.claude-plugin`, or the repository root—for example, if you are installing a plugin directly from a marketplace repository such as [anthropics/claude-code](https://github.com/anthropics/claude-code)—enter:
102-
103-
```shell copy
104-
copilot plugin install OWNER/REPO:PATH/TO/PLUGIN
105-
```
106-
107-
Where `PATH/TO/PLUGIN` is the path from the root of the repository to a directory that contains `plugin.json`, `.github/plugin/plugin.json` or `.claude-plugin/plugin.json`.
108-
109-
For example, `copilot plugin install anthropics/claude-code:plugins/frontend-design`
110-
111-
### Install from a local path
112-
113-
```shell copy
114-
copilot plugin install ./PATH/TO/PLUGIN
115-
```
116-
11776
## Managing installed plugins
11877

11978
```bash
@@ -122,10 +81,6 @@ copilot plugin update PLUGIN-NAME # Update plugin to latest version
12281
copilot plugin uninstall PLUGIN-NAME # Remove plugin completely
12382
```
12483

125-
## Where plugins are stored
126-
127-
Plugins installed from a marketplace are stored at: `~/.copilot/installed-plugins/MARKETPLACE/PLUGIN-NAME/`. Plugins installed directly (for example, from a local path) are stored at: `~/.copilot/installed-plugins/_direct/SOURCE-ID/`.
128-
12984
## Adding plugin marketplaces
13085

13186
To add a marketplace to the list of registered marketplaces, enter the following command in the terminal:

0 commit comments

Comments
 (0)