Skip to content

Instantly share code, notes, and snippets.

@germanfrelo
Last active April 11, 2024 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save germanfrelo/719c2b0b4b9db2b1d4dc7b16b4240183 to your computer and use it in GitHub Desktop.
Save germanfrelo/719c2b0b4b9db2b1d4dc7b16b4240183 to your computer and use it in GitHub Desktop.
My Visual Studio Code extensions
alefragnani.bookmarks
antfu.file-nesting
antfu.iconify
antfu.retypewriter
antfu.smart-clicks
bierner.color-info
bierner.github-markdown-preview
bierner.lit-html
bierner.markdown-checkbox
bierner.markdown-footnotes
bierner.markdown-mermaid
bierner.markdown-preview-github-styles
davidanson.vscode-markdownlint
dbaeumer.vscode-eslint
dnicolson.binary-plist
eamodio.gitlens
ecmel.vscode-html-css
editorconfig.editorconfig
esbenp.prettier-vscode
github.codespaces
github.remotehub
github.vscode-pull-request-github
gruntfuggly.todo-tree
htmlhint.vscode-htmlhint
jock.svg
kisstkondoros.vscode-gutter-preview
mhutchie.git-graph
ms-edgedevtools.vscode-edge-devtools
ms-vscode.azure-repos
ms-vscode.live-server
ms-vscode.remote-repositories
ms-vsliveshare.vsliveshare
pflannery.vscode-versionlens
pkief.material-icon-theme
pucelle.vscode-css-navigation
streetsidesoftware.code-spell-checker
streetsidesoftware.code-spell-checker-british-english
streetsidesoftware.code-spell-checker-spanish
stylelint.vscode-stylelint
tamasfe.even-better-toml
taniarascia.new-moon-vscode
usernamehw.errorlens
visualstudioexptteam.intellicode-api-usage-examples
visualstudioexptteam.vscodeintellicode
wix.vscode-import-cost
yzhang.markdown-all-in-one
@germanfrelo
Copy link
Author

germanfrelo commented Mar 30, 2023

Manage VS Code extensions

List all installed VS Code extensions and copy them to the clipboard

Linux/macOS:

code --list-extensions | pbcopy

Windows (PowerShell):

code --list-extensions | clip

Batch install all VS Code extensions from another computer

Note

  • Make sure you have the most recent version of Visual Studio Code. If you obtained it through a corporate portal, you may not have the most recent version.
  • Make sure you have installed the code command in PATH.

Exporting installed extensions

On macoS and Linux, run:

code --list-extensions | xargs -L 1 echo code --install-extension

On Windows (PowerShell, e.g. using VS Code's built-in Terminal), run:

code --list-extensions | % { "code --install-extension $_" }

Installing extensions

On the computer where you want to install them, copy the output from the Export step, paste it into a Terminal, and run it.

Example output:

# Example output:
code --install-extension dbaeumer.vscode-eslint
code --install-extension eamodio.gitlens
code --install-extension editorconfig.editorconfig
code --install-extension esbenp.prettier-vscode
code --install-extension htmlhint.vscode-htmlhint
code --install-extension stylelint.vscode-stylelint
# Etc.

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment