GitHub Desktop

GitHub, Inc. and contributors · Beta desktop client for GitHub repositories, with visual tools for reviewing and managing Git changes.

Cask開發工具自帶更新Apple 晶片 · Intel
主頁
來自 homebrew/cask
近 30 天安裝
34
App榜第 1273
近一年安裝
617
365 天累計
最新版本
3.6.8-beta3-a9cbfe32
前天 · 10月20日
下載大小
508MB
arm64 / x86_64 · zip
更新節奏
每週
近 30 天 4 個版本

GitHub Desktop 是一款開發工具類 Mac 應用。開發者是 GitHub, Inc. and contributors。

基本資訊

晶片
Apple 晶片 · Intel
系統版本
macOS 13 起
開發者
GitHub, Inc. and contributors
安裝命令
brew install --cask github@beta
Homebrew
可以安裝,應用會自行更新
其他名稱
github@beta

以上資訊最早核查於 。檢視各項來源

介紹

GitHub Desktop is the beta edition of GitHub’s desktop client for working with GitHub repositories. It offers a visual way to handle parts of a Git workflow, for both people new to Git and experienced users.

  • Review code changes by comparing versions with diff views.
  • Use drag and drop to cherry-pick commits between branches, combine commits, or reorder them in branch history.
  • Stash changes you are not ready to commit, then continue working on them later.
  • Adjust commit messages, include further changes, or revert to an earlier state.

Install this beta cask with brew install --cask github@beta. It installs GitHub Desktop.app and provides a github command-line executable. This cask requires macOS 13 or later and provides builds for Apple silicon and Intel Macs. It conflicts with the github cask, so both cannot be installed together through Homebrew.

This is the beta channel, intended for trying features and fixes before their release in the regular version; it is not the standard github cask.

Sources: GitHub Desktop · Homebrew cask

系統要求

macOS應用版本晶片下載來源
macOS 13 起3.6.8-beta3-a9cbfe32Inteldesktop.githubusercontent.com/releases/3.6.8-beta3-a9cbfe32/GitHubDesktop-x64.zipSHA-256 73b24b8b8afdfbdd948177d0e0925b805665394bee556230d781cf0e9231a267Homebrew核查於
macOS 13 起3.6.8-beta3-a9cbfe32Apple 晶片desktop.githubusercontent.com/releases/3.6.8-beta3-a9cbfe32/GitHubDesktop-arm64.zipSHA-256 b9b82e98dec9650c6f42ec7e128cfc611b0dec9a536fdfc0539ddd4a9b07f1b3Homebrew核查於

如何在 Mac 上安裝 GitHub Desktop

  1. 在「終端機」中執行: brew install --cask github@beta
  2. Homebrew 會把應用安裝到「應用程式」資料夾。

不用 Homebrew 安裝

按晶片下載 Homebrew 使用的檔案: Apple 晶片Intel

SHA-256 只用來核對下載的檔案是否完整,不代表安全認證。 檢視 SHA-256 和下載網址

解除安裝 GitHub Desktop 與可選的資料清理

解除安裝命令
brew uninstall --cask github@beta

普通解除安裝會刪除應用本身,設定和快取會保留。

深度清理(可選)

解除安裝命令
brew uninstall --zap --cask github@beta

--zap 還會刪除 Homebrew 定義裡列出的設定、快取等檔案,其中可能有其他應用共用的資料,刪除後無法恢復;它也不保證沒有任何殘留。請先備份需要保留的資料;如要保留設定和快取,請不要加 --zap。

GitHub Desktop 可能留在 Mac 上的檔案(14)
檔案和資料夾
~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.github.GitHubClient.sfl*
~/Library/Application Support/com.github.GitHubClient
~/Library/Application Support/com.github.GitHubClient.ShipIt
~/Library/Application Support/GitHub Desktop
~/Library/Application Support/ShipIt_stderr.log
~/Library/Application Support/ShipIt_stdout.log
~/Library/Caches/com.github.GitHubClient
~/Library/Caches/com.github.GitHubClient.ShipIt
~/Library/HTTPStorages/com.github.GitHubClient
~/Library/Logs/GitHub Desktop
~/Library/Preferences/ByHost/com.github.GitHubClient.ShipIt.*.plist
~/Library/Preferences/com.github.GitHubClient.helper.plist
~/Library/Preferences/com.github.GitHubClient.plist
~/.config/git

以上條目來自 Homebrew 定義,核查於 ;它們只說明定義宣告會刪除什麼,不代表你的 Mac 上都有。

3.6.8-beta3-a9cbfe32 更新內容

新版本 來自 Homebrew 提交記錄

這個版本沒有單獨的更新說明。

GitHub Desktop 的安全事實

這裡只列可以核驗的事實,並註明來源和日期,不是安全認證。要檢查你下載的檔案,可以用 OpenNavo 在本機掃描。

分發渠道
Homebrew
用 OpenNavo 掃描會在 OpenNavo 用戶端中開啟掃描預覽,由你決定是否開始。 瞭解安全防護

依賴與衝突

衝突
github
檢視依賴詳情

安裝細節

來源倉庫
homebrew/cask
附帶命令
github
下載網址
https://desktop.githubusercontent.com/releases/3.6.8-beta3-a9cbfe32/GitHubDesktop-arm64.zip
SHA-256
b9b82e98dec9650c6f42ec7e128cfc611b0dec9a536fdfc0539ddd4a9b07f1b3
Homebrew 定義檔案
github.com/homebrew/homebrew-cask/blob/HEAD/Casks/g/[email protected]
formulae.brew.sh
formulae.brew.sh/cask/github@beta

安裝與解除安裝內容

  • 安裝 app

    來源檔案: GitHub Desktop.app

    宣告的目標位置: /Applications/GitHub Desktop.app

    檢視完整宣告
    {
      "app": [
        "GitHub Desktop.app"
      ],
      "target": "/Applications/GitHub Desktop.app"
    }
  • 安裝 binary

    來源檔案: $APPDIR/GitHub Desktop.app/Contents/Resources/app/static/github.sh

    宣告的目標位置: $HOMEBREW_PREFIX/bin/github

    檢視完整宣告
    {
      "binary": [
        "$APPDIR/GitHub Desktop.app/Contents/Resources/app/static/github.sh",
        {
          "target": "github"
        }
      ],
      "target": "$HOMEBREW_PREFIX/bin/github"
    }
  • 清理使用者資料 zap

    檢視完整宣告
    {
      "zap": [
        {
          "rmdir": "~/.config/git",
          "trash": [
            "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.github.GitHubClient.sfl*",
            "~/Library/Application Support/com.github.GitHubClient",
            "~/Library/Application Support/com.github.GitHubClient.ShipIt",
            "~/Library/Application Support/GitHub Desktop",
            "~/Library/Application Support/ShipIt_stderr.log",
            "~/Library/Application Support/ShipIt_stdout.log",
            "~/Library/Caches/com.github.GitHubClient",
            "~/Library/Caches/com.github.GitHubClient.ShipIt",
            "~/Library/HTTPStorages/com.github.GitHubClient",
            "~/Library/Logs/GitHub Desktop",
            "~/Library/Preferences/ByHost/com.github.GitHubClient.ShipIt.*.plist",
            "~/Library/Preferences/com.github.GitHubClient.helper.plist",
            "~/Library/Preferences/com.github.GitHubClient.plist"
          ]
        }
      ]
    }

關於 GitHub Desktop 的常見問題

GitHub Desktop 安全嗎?

GitHub Desktop 收錄在 Homebrew 官方軟體庫中,沒有被停用。自 2026 年 9 月起,Homebrew 會停用沒有通過 macOS Gatekeeper 檢查的應用。安裝時,Homebrew 會用 SHA-256 校驗值核對來自 desktop.githubusercontent.com 的安裝檔。過去 30 天,它透過 Homebrew 安裝了 34 次。

如何在 Mac 上徹底解除安裝 GitHub Desktop?

執行 brew uninstall --cask github@beta。要連設定和快取一起刪除,執行 brew uninstall --zap --cask github@beta。--zap 還會刪除 Homebrew 定義裡列出的設定、快取等檔案,其中可能有其他應用共用的資料,刪除後無法恢復;它也不保證沒有任何殘留。請先備份需要保留的資料;如要保留設定和快取,請不要加 --zap。這會再刪除 14 處檔案和資料夾,包括 ~/Library/Application Support/com.github.GitHubClient。

GitHub Desktop 支援 Apple 晶片(M1 及更新)的 Mac 嗎?

支援。Homebrew 會為 Apple 晶片和 Intel 晶片的 Mac 分別下載不同的安裝檔。需要 macOS 13 或更高版本。

GitHub Desktop 的設定和資料儲存在哪裡?

設定儲存在 ~/Library/Preferences/com.github.GitHubClient.helper.plist。資料儲存在 ~/Library/Application Support/com.github.GitHubClient、~/Library/Application Support/com.github.GitHubClient.ShipIt和~/Library/Application Support/GitHub Desktop。這些位置來自 Homebrew 的清理清單。

GitHub Desktop 的最新版本是多少?

最新版本是 3.6.8-beta3-a9cbfe32,Homebrew 收錄於 10月20日。GitHub Desktop 會自動更新;想用 Homebrew 更新時,執行 brew upgrade --cask --greedy github@beta。

安裝 GitHub Desktop 還會裝上什麼?

還會裝上 1 個命令列工具:github。它不能和 github 同時安裝。

來源

頁面上的每項資料都註明來源和核查日期;過期的資料只寫「截至」某日,不再當作當前事實。