Windows·29 questions

How to use the WinGet tool to manage applications via the command line in Windows?

Answer

The Windows Package Manager, known as WinGet, is an official command-line tool from Microsoft that allows developers and administrators to quickly find, install, update, and remove software. Using WinGet eliminates the need to manually search for distributions in a browser, download dubious installers, and perform routine updates for dozens of applications.

The following main commands are used to work with the utility:

Open Windows Terminal or the command prompt with user privileges.
Type the command winget search and the name of the desired program to search in the repository.
Use the winget install command specifying the package identifier for automatic download and silent installation of the application.
Run the winget upgrade --all command to mass-update all programs installed on the system to their current versions.

The tool supports working with configuration files in YAML format, which allows you to automate the deployment of a standard set of software on new developer workstations. This makes WinGet an indispensable component of the modern Windows ecosystem for quickly setting up the working environment after a clean operating system installation.

Was this answer helpful?

More questions in this topic

Related questions from other topics