Winget its a software package manager for Windows Apps included by default on new versions of Windows 10 and 11 as of May 2022. In this short tutorial I'll show you how to use it to install Microsoft Visual Studio Code with a few Powershell commands instead of searching the web, downloading a file and then installing it.
Open Powershell or Windows Terminal
Press the Windows key on your keyboard and search and open Powershell. Run it as a user as Winget will ask you for permissions if needed.
Now run this command to update Winget's repository:
Now run this command to install Visual Studio Code:
winget install Microsoft.VisualStudioCode
Now search for and run the program. Easier right?