Visual Studio Code
Microsoft · Microsoft 的可擴充程式碼編輯器,整合偵錯、Git、終端機、遠端開發,以及選用的 AI 輔助功能。
- 近 30 天安裝
- 36,446
- App榜第 7
- 近一年安裝
- 47.8萬
- 365 天累計
- 最新版本
- 1.143.0
- 13 小時前 · 10月21日
- 下載大小
- 324MB
- arm64 / x86_64
- 更新節奏
- 每週
- 近 30 天 8 個版本
Visual Studio Code 是一款開發工具類 Mac 應用。開發者是 Microsoft。
基本資訊
- 晶片
- Apple 晶片 · Intel
- 價格
- 免費 · 價格詳情
- 開發者
- Microsoft
- 安裝命令
brew install --cask visual-studio-code- Homebrew
- 可以安裝,應用會自行更新
- 其他名稱
- Microsoft Visual Studio Code, VS Code, visual-studio-code
以上資訊最早核查於 。檢視各項來源
介紹
AI 翻譯檢視原文Visual Studio Code 是 Microsoft 的跨平台軟體開發編輯器。它適合使用多種語言、網頁專案、指令碼與儲存庫,並希望在同一款應用程式中使用編輯工具、偵錯、原始碼管理及擴充功能的開發者。此項目為官方 Stable 發行版,有別於 VS Code Insiders 與 Code - OSS 組建。
功能
- 透過語法醒目提示、自動完成、重構、搜尋、程式碼片段與可設定的工作區,編輯及瀏覽程式碼。
- 使用支援的語言擴充功能偵錯應用程式,並在整合式終端機中執行工作。
- 透過原始碼管理介面處理 Git 變更、分支與儲存庫歷程。
- 透過擴充功能加入語言支援、佈景主題、偵錯工具與工作流程工具。
- 使用相關遠端開發元件,在 SSH 主機、WSL、容器或雲端工作區中開發。
- 透過 GitHub Copilot 或支援的模型設定,使用選用的 AI 聊天、程式撰寫輔助與代理程式工作階段;可用功能及限制取決於供應商與帳戶。
安裝與啟動
在 Mac 上使用 brew install --cask visual-studio-code,再從 Applications 開啟 Visual Studio Code。官方網站也提供 Apple Silicon、Intel 與 Universal 安裝程式。若要從 Terminal 開啟專案,請在命令選擇區使用 Shell Command: Install 'code' command in PATH,再於專案資料夾執行 code .。請安裝專案需要的語言執行環境、編譯器、偵錯工具與擴充功能;編輯器無法取代所有開發工具鏈。
系統需求與並存安裝 Microsoft 建議編輯器使用 1.6 GHz 或更高時脈的處理器,以及 1 GB RAM;大型工作區、擴充功能、容器與 AI 工具可能需要更多資源。其 Mac 支援政策依循仍接收 Apple 安全性更新的 macOS 版本,通常為最新版本及前兩個版本。目前 Homebrew 記錄未指定額外的 formula 相依項目、明確衝突的 cask,或以數字表示的 macOS 最低版本。請以 Microsoft 的即時需求為準,不要將空白的 Homebrew 欄位視為支援所有作業系統。
Windows 需要受支援的 64 位元 Windows 用戶端版本;目前的需求頁面不支援 Windows Server。Linux 需求包括文件所列的發行版,以及 glibc 2.28+/GLIBCXX 3.4.25+。桌面編輯器、網頁編輯器、遠端伺服器及容器開發模式對主機的需求不同。遠端開發可能依情況需要 SSH、Docker、WSL 或遠端環境。若並存安裝 Stable、Insiders 或其他 Code - OSS 發行版,請確認使用的是哪個命令、擴充功能、設定與資料目錄。
帳戶、費用與授權 使用核心編輯器不需要登入,且依 Microsoft 的 VS Code 產品授權,可免費用於私人與商業用途。登入 GitHub 會將 Copilot 功能連結至你的方案;自備金鑰的模型與擴充服務可能另有費用及條款。底層的 microsoft/vscode Code - OSS 儲存庫採用 MIT 授權,但官方發行版包含 Microsoft 專屬資產與整合功能,並採用不同的產品授權。擴充功能各有其授權。
官方參考資料
Visual Studio Code 的價格與購買方式
OpenNavo 按地區、版本和計費週期記錄核查過的價格,並註明來源和日期;不記錄歷史價格,也不判斷是否最低。
| 版本 | 價格 | 地區 | 購買渠道 | 核查日期 |
|---|---|---|---|---|
| — | 免費 | — | 官網code.visualstudio.com/docs/supporting/FAQ |
系統要求
| macOS | 應用版本 | 晶片 | 下載 | 來源 |
|---|---|---|---|---|
| 適用於 macOS 27, 26, 15, 14, 13, 12 的版本 | 1.143.0 | Intel | update.code.visualstudio.com/1.143.0/darwin/stableSHA-256 fd0a102620e54fa05b3d9a9fb4a186897fe5e3386b4e8b25fba82393ea0a84c4 | Homebrew核查於 |
| 適用於 macOS 27, 26, 15, 14, 13, 12 的版本 | 1.143.0 | Apple 晶片 | update.code.visualstudio.com/1.143.0/darwin-arm64/stableSHA-256 561c8e27cc3a2ecc90fe9f94154383817157e964b8ae4f439a432ba257121932 | Homebrew核查於 |
| 適用於 macOS 11 的版本 | 1.106.3 | Intel | update.code.visualstudio.com/1.106.3/darwin/stableSHA-256 c41872149a205f3a3be3e5d3a8f04920407a0762531e607f78dc93f4d4813cda | Homebrew核查於 |
| 適用於 macOS 11 的版本 | 1.106.3 | Apple 晶片 | update.code.visualstudio.com/1.106.3/darwin-arm64/stableSHA-256 35dd438808dde1dd1f65490ffe7713ed64102324c0809efbec0b4eb2809b218b | Homebrew核查於 |
如何在 Mac 上安裝 Visual Studio Code
- 在「終端機」中執行:
brew install --cask visual-studio-code - Homebrew 會把應用安裝到「應用程式」資料夾。
解除安裝 Visual Studio Code 與可選的資料清理
brew uninstall --cask visual-studio-code普通解除安裝會刪除應用本身,設定和快取會保留。
解除安裝時還會處理
- 背景服務(launchctl)
com.microsoft.VSCode.ShipIt
深度清理(可選)
brew uninstall --zap --cask visual-studio-code--zap 還會刪除 Homebrew 定義裡列出的設定、快取等檔案,其中可能有其他應用共用的資料,刪除後無法恢復;它也不保證沒有任何殘留。請先備份需要保留的資料;如要保留設定和快取,請不要加 --zap。
Visual Studio Code 可能留在 Mac 上的檔案(10)
- 檔案和資料夾
~/.vscode~/Library/Application Support/Code~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.microsoft.vscode.sfl*~/Library/Caches/com.microsoft.VSCode~/Library/Caches/com.microsoft.VSCode.ShipIt~/Library/HTTPStorages/com.microsoft.VSCode~/Library/Preferences/ByHost/com.microsoft.VSCode.ShipIt.*.plist~/Library/Preferences/com.microsoft.VSCode.helper.plist~/Library/Preferences/com.microsoft.VSCode.plist~/Library/Saved Application State/com.microsoft.VSCode.savedState
以上條目來自 Homebrew 定義,核查於 ;它們只說明定義宣告會刪除什麼,不代表你的 Mac 上都有。
1.143.0 更新內容
新版本 OpenNavo 編輯
這個版本沒有單獨的更新說明。
Visual Studio Code 的安全事實
這裡只列可以核驗的事實,並註明來源和日期,不是安全認證。要檢查你下載的檔案,可以用 OpenNavo 在本機掃描。
- 分發渠道
- Homebrew
- 是否開源
- 是 · github.com/microsoft/vscode · MIT核查於
安裝細節
- 來源倉庫
- homebrew/cask
- 附帶命令
- code code-tunnel
- 下載網址
- https://update.code.visualstudio.com/1.143.0/darwin-arm64/stable
- SHA-256
- 561c8e27cc3a2ecc90fe9f94154383817157e964b8ae4f439a432ba257121932
- Homebrew 定義檔案
- github.com/homebrew/homebrew-cask/blob/HEAD/Casks/v/visual-studio-code.rb
- formulae.brew.sh
- formulae.brew.sh/cask/visual-studio-code
- 原始碼
- github.com/microsoft/vscode
安裝與解除安裝內容
解除安裝
uninstall檢視完整宣告
{ "uninstall": [ { "launchctl": "com.
microsoft. "quit": "com.VSCode. ShipIt", microsoft. } ] }VSCode" 安裝
app來源檔案: Visual Studio Code.
app 宣告的目標位置: /
Applications/ Studio Code.Visual app 檢視完整宣告
{ "app": [ "Visual Studio Code.
app" ], "target": "/Applications/ Studio Code.Visual app" }安裝
binary來源檔案: $APPDIR/
Visual Studio Code.app/ Contents/ Resources/ app/ bin/ code 宣告的目標位置: $HOMEBREW_PREFIX/
bin/ code 檢視完整宣告
{ "binary": [ "$APPDIR/
Visual Studio Code.app/ ], "target": "$HOMEBREW_PREFIX/Contents/ Resources/ app/ bin/ code" bin/ }code" 安裝
binary來源檔案: $APPDIR/
Visual Studio Code.app/ Contents/ Resources/ app/ bin/ code-tunnel 宣告的目標位置: $HOMEBREW_PREFIX/
bin/ code-tunnel 檢視完整宣告
{ "binary": [ "$APPDIR/
Visual Studio Code.app/ ], "target": "$HOMEBREW_PREFIX/Contents/ Resources/ app/ bin/ code-tunnel" bin/ }code-tunnel" 清理使用者資料
zap檢視完整宣告
{ "zap": [ { "trash": [ "~/
. "~/vscode", Library/ Support/Application Code", "~/Library/ Support/Application com. "~/apple. sharedfilelist/ com. apple. LSSharedFileList. ApplicationRecentDocuments/ com. microsoft. vscode. sfl*", Library/ "~/Caches/ com. microsoft. VSCode", Library/ "~/Caches/ com. microsoft. VSCode. ShipIt", Library/ "~/HTTPStorages/ com. microsoft. VSCode", Library/ "~/Preferences/ ByHost/ com. microsoft. VSCode. ShipIt. *. plist", Library/ "~/Preferences/ com. microsoft. VSCode. helper. plist", Library/ "~/Preferences/ com. microsoft. VSCode. plist", Library/ Application State/Saved com. ] } ] }microsoft. VSCode. savedState"
關於 Visual Studio Code 的常見問題
Visual Studio Code 安全嗎?
Visual Studio Code 收錄在 Homebrew 官方軟體庫中,沒有被停用。自 2026 年 9 月起,Homebrew 會停用沒有通過 macOS Gatekeeper 檢查的應用。安裝時,Homebrew 會用 SHA-256 校驗值核對來自 update.code.visualstudio.com 的安裝檔。過去 30 天,它透過 Homebrew 安裝了 36,446 次。
Visual Studio Code 免費嗎?
是的,Visual Studio Code 可以免費使用。來源:code.visualstudio.com/docs/supporting/FAQ,核查於 10月21日。
Visual Studio Code 是開源軟體嗎?
Visual Studio Code 的原始碼公開在 GitHub 上(microsoft/vscode),使用 MIT 授權。
如何在 Mac 上徹底解除安裝 Visual Studio Code?
執行 brew uninstall --cask visual-studio-code。它會退出應用、停止 1 個背景服務。要連設定和快取一起刪除,執行 brew uninstall --zap --cask visual-studio-code。--zap 還會刪除 Homebrew 定義裡列出的設定、快取等檔案,其中可能有其他應用共用的資料,刪除後無法恢復;它也不保證沒有任何殘留。請先備份需要保留的資料;如要保留設定和快取,請不要加 --zap。這會再刪除 10 處檔案和資料夾,包括 ~/。
Visual Studio Code 支援 Apple 晶片(M1 及更新)的 Mac 嗎?
支援。Homebrew 會為 Apple 晶片和 Intel 晶片的 Mac 分別下載不同的安裝檔。
Visual Studio Code 的設定和資料儲存在哪裡?
設定儲存在 ~/。資料儲存在 ~/和~/。這些位置來自 Homebrew 的清理清單。
Visual Studio Code 的最新版本是多少?
最新版本是 1.143.0,Homebrew 收錄於 10月21日。Visual Studio Code 會自動更新;想用 Homebrew 更新時,執行 brew upgrade --cask --greedy visual-studio-code。
安裝 Visual Studio Code 還會裝上什麼?
還會裝上 2 個命令列工具:code和code-tunnel。
來源
頁面上的每項資料都註明來源和核查日期;過期的資料只寫「截至」某日,不再當作當前事實。
- Homebrew 定義:github.com/homebrew/homebrew-cask/blob/HEAD/Casks/v/visual-studio-code.rb · 核查於
- formulae.brew.sh:formulae.brew.sh/cask/visual-studio-code
- 價格:code.visualstudio.com/docs/supporting/FAQ · 核查於
- 安全事實:github.com/microsoft/vscode · 核查於