How to Install Apps Using Commands on Windows 11

0

On Windows 11, in addition to using a standalone installer (.exe or .msi) or the Microsoft Store, you can also use the Windows Package Manager (winget) to download and install apps on your laptop or Office.

Windows Package Manager is a command-line tool that makes it easy to discover, download, install, update, and even remove apps on Windows 11 or 10 installations with the command prompt, reducing thus the number of steps required using a different method.

This guide will walk you through the steps to find, download, and install one or more apps on Windows 11.

How to Install Apps Using Command Prompt

In Windows 11, you can use quick and easy commands to find, download, and install virtually any app registered in the Windows Package Manager repository, even those from the Microsoft Store.

Search application with winget

To find an app to install with commands on Windows 11, follow these steps:

  1. Open Begin.
  2. To research Command Promptright-click on the first result and select the Execute as administrator option.
  3. Type the following command to search for an app and tap Walk in: search winget APP-NAME

(Image credit: future)

In the command, change APP NAME for the actual app name. If the name contains spaces, use quotes. For instance, “Visual Studio Code”.

  1. Confirm the application name and ID value.

After completing the steps, you can use the application name or its ID to install it with the Windows Package Manager tool.

When you use the search command, the “Source” column will tell you if the app is available from the Windows Package Manager repository (winget) or the Microsoft Store (msstore).

You will also notice that the Application ID will have a different structure depending on the source. For example, the VLC media player has the ID of “VideoLAN.VLC” in the winget repository and the “XPDM1ZW6815MQM” in the msstore repository. These are the same apps, but depending on which ID you use, the app will install from different sources.

Install an app with Winget

To install an application with the winget command, follow these steps:

  1. Open Begin.
  2. To research Command Promptright-click on the first result and select the Execute as administrator option.
  3. Type the following command to install an app with the winget command and press Walk in: winget install “APP-NAME”

(Image credit: future)

In the command, change “APP NAME” for the app name. Quotes are only required when the name has multiple words with a space. This example installs the VSCode application: winget install “Microsoft Visual Studio Code”

  1. (Optional) Type the following command to install an app by ID and tap Walk in: winget install APP-ID

After completing the steps, the application will install on Windows 11. Although you can use the application name, the ID option is the best option because it is more specific, allows you to choose the source repository and you will find fewer conflicts when executing the command. .

Install multiple apps with Winget

To install multiple apps with the winget command, follow these steps:

  1. Open Begin.
  2. To research Command Promptright-click on the first result and select the Execute as administrator option.
  3. Type the following command to install multiple apps with winget command and press Walk in: winget install “APP-NAME-1” -e && winget install “APP-NAME-2” -e
  4. (Optional) Type the following command to install multiple apps by ID and tap Walk in: install winget –id=NAME-APP-1 -e && install winget –id=NAME-APP-2 -e

In the commands, change “APP-NAME-1” and “APP-NAME-2” for the actual application names. If you want to queue even more app installs, add a space and && with the app install command. This example installs the VLC and Visual Studio Code applications: winget install –id=VideoLAN.VLC -e && winget install –id=Microsoft.VisualStudioCode -e

(Image credit: future)

Once you complete the steps, the command will start installing the apps one by one.

Check installed apps with Winget

To check if the app has been installed, follow these steps:

  1. Open Begin.
  2. To research Command Promptright-click on the first result and select the Execute as administrator option.
  3. Type the following command to list the installed application on Windows 11 and press Walk in: fin list

(Image credit: future)
  1. (Optional) Type the following command to confirm an app installation and tap Walk in: winget list APP-NAME

(Image credit: future)

After completing the steps, you can check if the app has been successfully installed on Windows 11.

More resources

For more helpful articles, coverage, and answers to common Windows 10 and Windows 11 questions, visit the following resources:

Share.

About Author

Comments are closed.