How to use Choco to Install Visual studio code on Windows 10

- Advertisment -
- Advertisement -

A single command of Choco to use on Windows 10/8/7 for the install programming tool Visual studio code an open source IDE.

Chocolatey, a very easy to use the package manager for Windows 10/8/7. Yes, now it is not limited to Linux or Mac systems only to use the command line for downloading and installing some software. Now, we can use the Choco command of Chocolatey to install a wide range of software on Windows with a single command. Most of the software packages available on Chocolatey are up to the date, so no worry about the latest features.

We already have performed an article to guide the installation of open source Visual studio code on Ubuntu 19.04 Linux and now its time for Windows 10/8/7.

Choco to Install Visual studio code on Windows 10

Step 1: Install Chocolatey

To use the chocolatey command on Windows, we must have Chocolatey installed on our system. For open command prompt or PowerShell under administrative rights and execute given commands.

If you want to Command prompt to install Chocolatey then use this command:

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

From PowerShell, the installation will require this one:

Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

Once the Chocolatey get installed move to next step.

Step 2: Choco to install Visual Studio Code

Now again, in Command prompt or Powershell whatever you are using; type or copy-paste the below command to download and install Visual Studio Code on your respective Windows 10, Windows 8 or 7 system.

choco install vscode

Choco to install Visual Studio Code

Step 3: Run VScode

Once the installation is done. Go to Windows Applications and find the installed Visual Studio code app to run it.

use choco installed Visual Studio code

Step 4: Choco command to upgrade Visual Studio Code

Although you can check for updates from VScode itself, however, for an instant update or upgrade simply open command prompt or Powershell and use the below command.

choco upgrade vscode

Step 5: Use choco to deactivate visual studio code auto upgrades

First, we have to install a VScode auto update deactivation package

choco install visualstudiocode-disableautoupdate

After that use this command to disable the auto upgrades.

choco upgrade visualstudiocode-disableautoupdate

 

H2S Media Team
H2S is a group of tech enthusiasts those are passionate about latest technology developments. They always like to solve own technical problems and share the same solution with others through this Website.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Latest Posts

Sony accidentally confirmed a massive News leak on PS5

The PlayStation 5 launch is just around the corner. Also, the rumours are about an upcoming meeting of Sony...

Horizon: Zero Dawn is Coming to PC, all about its release

There is news coming up from the insider sources that Sony is already working on their project to release...

WhatsApp Dark Mode is available for Android users, test it now!

Finally, to save the oil of eye lamps especially for those continuously do chats on WhatsApp, Dark Mode is...

VMate successfully secured a place in top 5 Social Media App Category

Recently, a report has been published by App Annie to know what is the "State of mobile 2020". The...
- Advertisement -

AI in education sector: making a future-ready workforce

As we are approaching towards ending another decade, it’s time to reflect the future. FUTURE-READINESS OF SCHOOL ECOSYSTEM. As...

NVIDIA’s Upcoming Graphics Card Specs Leaked

Internet is the best means through which the rumours, fakes news, as well as the news leak, come in...

- Advertisment -
- Advertisement -

You might also likeRELATED
Recommended to you