熱門: 資料更新於2026年10月26日

軟體分類

網路軟體1,355
通訊社群321
影音軟體898
繪圖與影像539
辦公軟體1,120
開發工具3,132
AI工具527
安全與隱私385
系統工具3,113
遊戲523
教育與科學239
網路與IT284

Microsoft Visual Studio Code靜默安裝與解除安裝參數

Microsoft Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Microsoft Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows.

Microsoft Corporation IDE與程式碼編輯器 #36 IDE與程式碼編輯器

免互動安裝Microsoft Visual Studio Code、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。

相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式

使用winget

PowerShell
winget install --id Microsoft.VisualStudioCode -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id Microsoft.VisualStudioCode -e --silent
winget uninstall --id Microsoft.VisualStudioCode -e --silent

依安裝檔

64位元 · EXE(Inno Setup) · 僅目前使用者 · en-US

靜默安裝VSCodeUserSetup-x64-1.141.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
自訂安裝資料夾VSCodeUserSetup-x64-1.141.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\microsoft-visual-studio-code"

64位元 · EXE(Inno Setup) · 所有使用者 · en-US

靜默安裝VSCodeSetup-x64-1.141.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
自訂安裝資料夾VSCodeSetup-x64-1.141.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\microsoft-visual-studio-code"

ARM64 · EXE(Inno Setup) · 僅目前使用者 · en-US

靜默安裝VSCodeUserSetup-arm64-1.141.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
自訂安裝資料夾VSCodeUserSetup-arm64-1.141.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\microsoft-visual-studio-code"

ARM64 · EXE(Inno Setup) · 所有使用者 · en-US

靜默安裝VSCodeSetup-arm64-1.141.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
自訂安裝資料夾VSCodeSetup-arm64-1.141.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\microsoft-visual-studio-code"

PowerShell:下載、驗證、安裝

下載官方檔案,驗證SHA256後靜默安裝。

install-microsoft-visual-studio-code.ps1
$url = 'https://vscode.download.prss.microsoft.com/dbazure/download/stable/16507d91be0dc1ce4f94c04d4d0430210b8685d9/VSCodeUserSetup-x64-1.141.2.exe'
$sha256 = '9B9E7305BC5F2D9176DFF8263BA146FC7B0D65CE1FB499271FD7746EC53D66ED'
$file = Join-Path $env:TEMP 'VSCodeUserSetup-x64-1.141.2.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait

IDE與程式碼編輯器熱門排行

查看全部
  1. OpenCodeIDE與程式碼編輯器 · OpenCode
  2. RStudioIDE與程式碼編輯器 · Posit Software
  3. Node.js (LTS)IDE與程式碼編輯器 · Node.js Foundation
  4. Apache NetBeansIDE與程式碼編輯器 · Apache NetBeans
  5. VSCodiumIDE與程式碼編輯器 · VSCodium
  6. HaxeIDE與程式碼編輯器 · Haxe Foundation
  7. ThonnyIDE與程式碼編輯器 · Aivar Annamaa
  8. GDevelopIDE與程式碼編輯器 · GDevelop Team
  9. mkcertIDE與程式碼編輯器 · FiloSottile
  10. ProcessingIDE與程式碼編輯器 · Processing Foundation

Microsoft Corporation的其他軟體

查看全部
  • PowerShell終端機與命令列 · Microsoft Corporation
  • PowerToys系統美化 · Microsoft Corporation
  • NuGet套件管理與軟體更新 · Microsoft Corporation
  • Microsoft Azure CLI終端機與命令列 · Microsoft Corporation
  • OpenSSH PreviewFTP與檔案傳輸 · Microsoft Corporation
  • Bicep CLI程式語言與SDK · Microsoft Corporation

標籤

分享