Share via


Using Chocolatey to install Visual Studio Code

To install Chocolatey, open Windows PowerShell in Administrator mode and run the below commands:

PS C:\WINDOWS\system32> powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).D
ownloadString('https://chocolatey.org/install.ps1'))"

PS C:\WINDOWS\system32> SET PATH=%PATH%;

PS C:\WINDOWS\system32> SET PATH=%ALLUSERSPROFILE%\chocolatey\bin

Verify the Chocolatey installation by restarting the Windows PowerShell command window and typing choco as shown below:

PS C:\WINDOWS\system32> choco
Chocolatey v0.10.0

Run the command shown below to install Visual Studio Code:

**PS C:\WINDOWS\system32> choco install visualstudiocode

**To see the packages installed using Chocolatey, you can run the below command:

PS C:\WINDOWS\system32> choco list -lo
**
**

See Also