Windows 10 now includes the Windows Package Manager (winget), which is a tool that allows you to discover, install, upgrade, remove and configure apps on your device using command line. Technically, the tool is simply an interface to connect and use the Windows Package Manager service.
The service is still in preview, which means that you’ll need to be part of the Windows Insider Program with a machine enrolled in the Fast ring to access the tool.
How to install app using Windows Package Manager
To install an app using the winget command, use these steps:
Open Start on Windows 10.
Search for Command Prompt, right-click the top result, and select the Run as administrator option.
Type the following command to search the app and press Enter:
winget search APP-NAME
In the command, make sure to replace the APP-NAME for the name of the app that you’re trying to install. If you don’t know the exact name, you can search part of the name.
For example, the following command winget search micro will return apps available from Microsoft and other apps that may contain the query in the name or ID:
winget search micro
Type the following command to install an app and press Enter:
winget install APP-NAME
In the command, make sure to change “APP-NAME” for the name of the app you want to install.
For example, the following command installs the PowerToys app:
winget install powertoys
Continue with the on-screen directions (if applicable).
Once you complete the steps, the app will download and install on your device. If it’s a desktop application, after the package downloads, you may need to go through the installation experience like with other desktop apps.
You can use the Windows Package Manager without administrator privileges, but you’ll be prompted to elevate, and if you choose not to elevate, the installation will fail.
The winget command should be available in the latest preview of Windows 10 in the Fast ring, if it’s not, you may need to install the preview version of the App Installer from the Microsoft Store.