Home > Back-end >  Install VS Code on Windows through Powershell / command prompt?
Install VS Code on Windows through Powershell / command prompt?

Time:07-22

Is there a way to install Install VS Code on Windows through Powershell / command prompt commands ? as in linux with "sudo apt install ..."

Thank you

CodePudding user response:

You can use Choco

choco install vscode.install

Ref: https://community.chocolatey.org/packages/vscode.install

CodePudding user response:

Complementing @Mohammed El Sayed great answer that uses Choco, the now Microsoft official package manager WinGet can let you do this as well

winget install -e --id Microsoft.VisualStudioCode

Note -e matches exact string (instead of substring) and --id limits usage to ID of application. More on args here

For more info on customising the installation see this GitHub discussion.

  • Related