Winget is a command-line tool that enables you to install and manage applications on Windows 10 and 11
You can use winget to search, install, upgrade, uninstall, show, and configure applications from various sources.
Here are some examples of winget commands:
- To install an application, use
winget install <package.
For example,winget install firefox
will install the Firefox browser on your computer. - To uninstall an application, use
winget uninstall <package>.
For example,winget uninstall firefox
will remove the Firefox browser from your computer. - To upgrade an application, use
winget upgrade <package>
For example,winget upgrade firefox
will update the Firefox browser to the latest version available. - To search for an application, use
winget search <query>
. For example,winget search chrome
will show you the basic information of the Chrome browser and its source. - To show more details about an application, use
winget show <package>
. For example,winget show chrome
will show you the full information of the Chrome browser, such as its description, version, license, homepage, etc. - To manage the sources of applications, use
winget source <command>.
For example,winget source list
will show you the list of sources that winget can install applications from.
You can also use various options and flags with winget commands to modify their behavior. To get a complete list of commands and options, type winget --help
.
You can also visit the official documentation for more information: https://docs.microsoft.com/en-us/windows/package-manager/winget
The Winget command is very uselful to help you keep your apps up to date and you can create a task schedule or command to automatically upgrade your apps.
winget upgrade --all
winget upgrade --all --include-unknown