Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

What does -h flag mean in winget?

I was working with WinGet, when I suddenly noticed why we write ‘-h‘ in command.

What is the use of this flag? I tried searching but couldn’t find.

enter image description here

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Use winget <subcommand-h> -? to see all options for that command.

PS> winget upgrade -? | Select-String '-h\b'

  -h,--silent                          Request silent installation

You can also find the information online:

  • winget.exe main page
  • The subcommands have their own pages, linked from the main page.
    • To get directly to a subcommand’s page, append the subcommand name to the main-page URL, e.g. winget upgrade
    • To jump directly to the list of options, append #options; e.g. winget upgrade options
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading