You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/copilot/how-tos/copilot-cli/customize-copilot/plugins-finding-installing.md
+3-48Lines changed: 3 additions & 48 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ docsTeamMetrics:
16
16
17
17
## Introduction
18
18
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.
20
20
21
21
For more information, see [AUTOTITLE](/copilot/concepts/agents/copilot-cli/about-cli-plugins).
22
22
@@ -26,8 +26,6 @@ For more information, see [AUTOTITLE](/copilot/concepts/agents/copilot-cli/about
26
26
27
27
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`.
28
28
29
-
Alternatively, you can search for plugin marketplaces online and then add a plugin directly from a repository.
30
-
31
29
To use the CLI to browse the plugins in one of your registered marketplaces:
32
30
33
31
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:
55
53
56
54
## Installing plugins
57
55
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).
@@ -77,43 +73,6 @@ Alternatively, in an interactive session, enter:
77
73
/plugin install PLUGIN-NAME@MARKETPLACE-NAME
78
74
```
79
75
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
-
117
76
## Managing installed plugins
118
77
119
78
```bash
@@ -122,10 +81,6 @@ copilot plugin update PLUGIN-NAME # Update plugin to latest version
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
-
129
84
## Adding plugin marketplaces
130
85
131
86
To add a marketplace to the list of registered marketplaces, enter the following command in the terminal:
0 commit comments