Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use Choco to install Visual Studio on Windows 10

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how to use Choco to install Visual Studio on Windows 10. I hope you will get something after reading this article. Let's discuss it together.

A single command Choco is used on Win10/8/7 to install the programming tool Visual Studio code an open source IDE.

Chocolatey, a very easy to use Win10/8/7 package manager. Yes, now it is not limited to Linux or Mac systems, and can only be downloaded and installed using the command line. Now we can use Chocolatey's Choco command to install various software on Windows using a single command. Most packages available on Chocolatey have deadlines, so you don't have to worry about the * functionality.

We have executed an article to guide the installation of open source Visual Studio code on Ubuntu 19.04 Linux, and it is now time for windows 10-8-7.

Choco installs Visual Studio code on Win10

Step 1: install Chocolatey

To use the chocolatey command on Windows, we must install Chocolatey on our system. Open a command prompt or PowerShell under administrative privileges and execute the given command.

If you want to install Chocolatey at a command prompt, use the following command:

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

Starting with PowerShell, the installation will require the following:

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

Once Chocolatey is installed, go to the next step.

Step 2: Choco install Visual Studio Code

Now again, no matter what you use at the command prompt or Powershell; type or copy and paste the following command to download and install Visual Studio Code on their respective windows 10 Magi Windows 8 or 7 systems.

Choco install vscode

Step 3: run VScode

After the installation is complete. Go to the Windows application and locate the installed Visual Studio code application to run it.

Step 4: the Choco command upgrades the Visual Studio code

Although you can check for updates from VScode itself, for immediate updates or upgrades, simply open a command prompt or Powershell and use the following command.

Choco upgrade vscode

Step 5: use choco to deactivate visual studio code for automatic upgrade

First, we must install the VScode automatic update deactivation package

Choco install visualstudiocode-disableautoupdate

After that, use this command to disable automatic upgrade.

Choco upgrade visualstudiocode-disableautoupdate has finished reading this article, I believe you have a certain understanding of "how to use Choco to install Visual Studio on Windows 10". If you want to know more about it, welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report