@@ -18,8 +18,8 @@ a Coder workspace:
1818## Using the public extensions marketplaces
1919
2020You can manually add an extension while you're working in the Code Web IDE. The
21- extensions can be from Coder 's public marketplace, Eclipse Open VSX's public
22- marketplace, or the Eclipse Open VSX _ local_ marketplace.
21+ extensions can be from Eclipse Open VSX 's public marketplace or the Eclipse Open
22+ VSX _ local_ marketplace.
2323
2424![ Code Web Extensions] ( ../assets/workspaces/code-web-extensions.png )
2525
@@ -85,17 +85,20 @@ marketplace:
8585## Installing from a marketplace at the command line
8686
8787Using the workspace's terminal or the terminal available inside Code Web (code
88- server), run the following to install an extension (be sure to update the
89- snippets with the name of the extension you want to install):
88+ server), run the following to install an extension from the currently configured
89+ marketplace, which defaults to Open VSX's public marketplace (be sure to update
90+ the snippets with the name of the extension you want to install):
9091
9192``` text
92- SERVICE_URL=https://extensions.coder.com/api ITEM_URL=https://extensions.coder.com/item /var/tmp/coder/code-server/bin/code-server --install-extension ms-python.python
93+ /var/tmp/coder/code-server/bin/code-server --install-extension ms-python.python
9394```
9495
95- Alternatively, you can install an extension from Open VSX's public marketplace:
96+ To install from a different marketplace you can set the ` EXTENSIONS_GALLERY `
97+ environment variable, which corresponds to the ` extensionsGallery ` entry in
98+ Code Web's ` product.json ` :
9699
97100``` text
98- SERVICE_URL=https://open-vsx.org/vscode/gallery ITEM_URL= https://open-vsx.org/vscode/item /var/tmp/coder/code-server/bin/code-server --install-extension ms-python.python
101+ EXTENSIONS_GALLERY='{"serviceUrl": " https://my-extensions/api"}' /var/tmp/coder/code-server/bin/code-server --install-extension ms-python.python
99102```
100103
101104## Using a local VS Code instance with SSH
0 commit comments