# 使用 Homebrew Cask 安装 gitkraken-cli

查看 gitkraken-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install cask:gitkraken-cli
```

其他安装命令:

### macOS

- Homebrew Cask (100%):

```sh
brew install --cask gitkraken-cli
```

  证据: local Homebrew cask metadata

## 软件包事实

- **软件包键:** cask:gitkraken-cli
- **软件包管理器:** Homebrew Cask
- **版本:** 3.1.70
- **来源摘要:** CLI for GitKraken
- **主页:** <https://github.com/gitkraken/gk-cli>
- **最后更新:** 2026-07-13T16:50:03Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gk (二进制)
- gk (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.1.70
## 项目历史与用法

GitKraken CLI is the `gk` command-line companion to GitKraken. It brings GitKraken's multi-repository work-item model, provider authentication, Git passthrough, AI-assisted commits and pull requests, and an MCP server into terminal workflows.

### 项目历史

The public GitHub repository for `gk-cli` was created in February 2023. Its README describes the CLI as GitKraken on the command line and centers the product around Work Items, a workflow abstraction for coordinating changes across one or more repositories.

The project evolved as a vendor-maintained release and documentation repository, with binary releases for macOS, Unix-like systems, and Windows. By 2026, release tags in the 3.x series and Homebrew cask packaging showed the CLI as a regularly packaged GitKraken product surface.

### 采用历史

Adoption is tied to the existing GitKraken ecosystem rather than to a language runtime community. The CLI targets developers who already use Git hosting providers, issue trackers, and GitKraken accounts, then exposes those workflows through `gk auth`, `gk provider`, `gk work`, `gk workspace`, and Git passthrough commands.

The MCP server documented in the README made the tool relevant to AI-assisted development workflows by exposing local Git, GitHub, Jira, and GitKraken actions to compatible assistants.

### 使用方式

Practitioners authenticate with `gk auth login`, enter a repository, create a work item with `gk work create`, commit with `gk work commit --ai`, push with `gk work push`, and create pull requests with `gk work pr create --ai`. The README also documents using `gk` as a passthrough for ordinary Git commands such as `gk status`.

### 为什么软件包爱好者会关心

For package maintainers, GitKraken CLI is a vendor CLI distributed as a Homebrew cask because it ships prebuilt binaries rather than a formula-built open-source package. The cask token `gitkraken-cli` preserves the distinction between the terminal product and the broader GitKraken desktop brand.

### 时间线

- 2023: Public `gk-cli` repository created.
- 2023: README documented Work Items and Git command passthrough.
- 2026: v3.1.x release series published through GitHub Releases.
- 2026: Homebrew cask packaged the `gk` binary as `gitkraken-cli`.

### Related projects

- Related surfaces include GitKraken, GitHub, Jira, Git hosting providers, Homebrew Cask, Snap, Winget, and Model Context Protocol clients.

### 来源

- <https://api.github.com/repos/gitkraken/gk-cli>
- <https://formulae.brew.sh/cask/gitkraken-cli>
- <https://github.com/gitkraken/gk-cli>
- <https://github.com/gitkraken/gk-cli/releases/tag/v3.1.69>
- <https://help.gitkraken.com/cli/gk-cli>
- <https://raw.githubusercontent.com/gitkraken/gk-cli/main/README.md>


## 安全说明

没有找到 gitkraken-cli 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 其他软件包管理器记录

- winget - GitKraken.cli: normalized package name match | Windows Package Manager source index: GitKraken.cli from https://cdn.winget.microsoft.com/cache/source.msix
- MacPorts - gk: installed executable or alias match | MacPorts ports tree: devel/gk/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/gk: installed executable or alias match | Scoop official bucket manifest trees: bucket/gk.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/gitkraken-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gitkraken-cli.yml)


## 来源

- pkg.so package database
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
