Search and Install apps using Windows PowerShell

What is a Winget

The Winget command-line utility enables installing, upgrading and removing applications and other packages from the command line on  windows 10 and windows 11 computers. Its vary to manage apps in your computer.

winget-commands

Search for Apps to Install in Powershell:

If we want to install any application, first we need to check that app is available in Microsoft Windows Package Manager, also known as Winget Package. to search the app.
winget search notepad++

Get app details in Powershell:

Before installing any app, make sure that app is the right one. to do that 
winget show Notepad++.Notepad++

Install apps using Powershell:

To install Notepad++ using PowerShell
winget install notepad++.notepad++

Source:
https://learn.microsoft.com/en-us/windows/package-manager/winget/

Join the conversation