# 使用 Homebrew, Nix, winget 安装 gittype

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

## 安装

```sh
sudo av install brew:gittype
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gittype
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gittype
```

  证据: nixpkgs package indexes: pkgs/by-name/gi/gittype/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- winget (92%):

```sh
winget install --id unhappychoice.gittype -e
```

  证据: Windows Package Manager source index: unhappychoice.gittype from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:gittype
- **软件包管理器:** Homebrew
- **版本:** 0.10.1
- **来源摘要:** CLI code-typing game that turns your source code into typing challenges
- **主页:** <https://github.com/unhappychoice/gittype>
- **仓库:** <https://github.com/unhappychoice/gittype>
- **最后更新:** 2026-07-25T06:48:44Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gittype (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

gittype is a Rust command-line typing game that turns source code into practice text. Its niche is developer-oriented play: instead of generic drills, it extracts functions and repository content so programmers can practice typing code-shaped text.

### 项目历史

The repository was opened in 2025 and published early to the Rust crate ecosystem. The README positions the tool around practicing with a user's own code, cloning public GitHub repositories, browsing trending repositories, and tracking live typing metrics.

The first GitHub release was v0.1.1 in August 2025, followed by a rapid 0.x release line. By the 0.10.0 release, the README documented several play modes, supported programming languages, themes, repository caching, ranking, and analytics screens.

### 采用历史

Adoption evidence is early but concrete: the project is distributed through Cargo and Homebrew, and package metadata also lists Nix and WinGet. That spread is notable for a game-like developer utility because it makes the same terminal toy easy to install in macOS, Linux, and Windows workflows.

### 使用方式

Practitioners run `gittype` inside a repository, pass a local path, or use `--repo` with a GitHub owner/repository name or clone URL. The README also documents a `trending` command for browsing public repositories and a cached repository mode for repeated play.

The tool is used less as production infrastructure and more as a terminal-native exercise, onboarding, or procrastination aid: it makes developers type real functions, symbols, and idioms from source trees while showing WPM, accuracy, ranks, and themed game screens.

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

gittype shows how modern Rust CLIs can blur package categories: it is a game, a code parser, and a GitHub-aware terminal app. For package catalogues, it belongs near developer toys that are useful precisely because they understand source trees.

### 时间线

- 2025: Public GitHub repository opened.
- 2025: Crate publication recorded on crates.io.
- 2025: v0.1.1 release published.
- 2026: v0.10.0 release line documented in GitHub releases.

### Related projects

- Cargo and Rust terminal UI tooling.
- GitHub repository browsing and cloning workflows.
- Gitlogue, a related project by the same author for animating Git commit history.

### 来源

- <https://api.github.com/repos/unhappychoice/gittype>
- <https://api.github.com/repos/unhappychoice/gittype/releases>
- <https://crates.io/api/v1/crates/gittype>
- <https://crates.io/crates/gittype>
- <https://formulae.brew.sh/formula/gittype>
- <https://github.com/unhappychoice/gittype>
- <https://raw.githubusercontent.com/unhappychoice/gittype/main/README.md>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

- Nix - gittype: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/gittype/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- winget - unhappychoice.gittype: normalized package name match | Windows Package Manager source index: unhappychoice.gittype from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## 来源

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