Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance extension download instructions with command option and example #7775

Merged
11 changes: 9 additions & 2 deletions docs/editor/extension-marketplace.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,9 +334,16 @@ You may see this error if your machine is going through a proxy server to access

### Can I download an extension directly from the Marketplace?

Some users prefer to download an extension once from the Marketplace and then install it multiple times from a local share. This is useful when there are connectivity concerns or if your development team wants to use a fixed set of extensions.
Some users prefer to download an extension once from the Marketplace and then install it to multiple VS Code instances from a local share. This is useful when there are connectivity concerns or if your development team wants to use a fixed set of extensions.

To download an extension, navigate to the details page for the specific extension within the [Marketplace](https://marketplace.visualstudio.com/vscode). On that page, there is a **Download Extension** link in the **Resources** section, which is located on the right-hand side of the page.
To download an extension, use the following command option:
seaniyer marked this conversation as resolved.
Show resolved Hide resolved
```
code --download-extension <UniqueExtensionID> --location <Path>

Example:
code --download-extension ms-python.python --location ~/vscode/testing
```
You can copy the extension ID from the extension details page ![Copy Extension ID](./images/extension-marketplace/copy-extension-id.png).
seaniyer marked this conversation as resolved.
Show resolved Hide resolved

Once downloaded, you can then install the extension via the **Install from VSIX** command in the Extensions view command dropdown.
ntrogh marked this conversation as resolved.
Show resolved Hide resolved

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.