Victor O. Alvarez Torres
Victor O. Alvarez

Victor O. Alvarez

Use Winget to Install Visual Studio Code on Windows 10 or 11

Photo by Mohammad Rahmani on Unsplash

Use Winget to Install Visual Studio Code on Windows 10 or 11

An easier way to install VSCode on Windows

Victor O. Alvarez Torres's photo
Victor O. Alvarez Torres
·May 11, 2022·

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:

winget upgrade

Now run this command to install Visual Studio Code:

winget install Microsoft.VisualStudioCode

install.png

Conclusion

Now search for and run the program. Easier right?

 
Share this