Skip to content

How to use winget to install VSCode with custom options? #1798

Answered by jedieaston
Zamiell asked this question in Q&A
Discussion options

You must be logged in to vote

You can use the --override argument on winget install to replace the arguments winget uses with ones you want yourself. Unfortunately, you'll probably have to do some googling or run the installer with /? to get all possible arguments.

To install VSCode with those options selected, run winget install Microsoft.VisualStudioCode --override '/SILENT /mergetasks="!runcode,addcontextmenufiles,addcontextmenufolders"'

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by denelon
Comment options

You must be logged in to vote
2 replies
@jedieaston
Comment options

@sanamhub
Comment options

Comment options

You must be logged in to vote
1 reply
@kellyelton
Comment options

Comment options

You must be logged in to vote
2 replies
@andregeuze
Comment options

@neurocline
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
8 participants