# 使用 Homebrew, Nix, scoop 安装 gut

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

## 安装

```sh
sudo av install brew:gut
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gut
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gut
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/gut
```

  证据: Scoop official bucket manifest trees: bucket/gut.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:gut
- **软件包管理器:** Homebrew
- **版本:** 0.3.3
- **来源摘要:** Beginner friendly porcelain for git
- **主页:** <https://gut-cli.dev/>
- **仓库:** <https://github.com/julien040/gut>
- **最后更新:** 2026-07-27T16:47:26+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gut (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

gut is a small Git porcelain that presents Git through simpler, beginner-oriented commands and safety rails. Its README frames it as an alternative CLI with consistent command names, cloud-hosting integration, and coexistence with the standard git executable rather than a replacement for Git itself.

### 项目历史

The public GitHub repository was created on 2022-12-22, and GitHub releases record version 0.1.0 on 2023-02-16. The project was written in Go and shipped as a single command named gut. Its README says the author built it after finding Git frustrating while learning to code, with the goal of letting people use Git without the same anxiety around mistakes.

The project design emphasizes guardrails around common Git hazards. The README says gut will not allow modification of history already pushed to a remote, treats the staging area as unnecessary for its basic workflow, blocks unsafe detached-HEAD operations until the user chooses a path forward, and relies on Git internally.

### 采用历史

gut spread through developer package-manager channels rather than through a large framework ecosystem. Its own installation instructions list Homebrew for macOS, Scoop for Windows, apt and yum repositories, AUR packages, and Go installation from source, reflecting a tool aimed at terminal users who want package-manager setup on several platforms.

GitHub repository metadata shows modest but visible interest for a niche Git porcelain, with hundreds of stars and a small fork count by 2026. That pattern fits a utility whose audience is users experimenting with gentler command names and safer defaults rather than teams standardizing a new version-control system.

### 使用方式

Typical use follows Git repository workflows: gut init starts a repository, gut save commits tracked changes, gut sync exchanges changes with the upstream remote, gut fix helps recover from mistakes, gut revert creates a new commit to undo older work, and gut whereami explains the HEAD position. The command set intentionally maps high-level user intent onto lower-level Git operations.

The README also documents integration conveniences such as opening pull-request or comparison pages on hosting platforms, downloading .gitignore and .gitattributes templates, and simplifying GitHub authentication.

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

For package-manager catalogs, gut is an example of a modern Git UX wrapper that packages policy decisions as a CLI: no pushed-history rewrites, no explicit staging step for the default path, and guided recovery commands. It matters less as a replacement for Git than as a snapshot of how tool authors try to make Git less hostile to new users while still delegating storage and transport to git.

### 时间线

- 2022-12-22: Public GitHub repository created.
- 2023-02-16: Version 0.1.0 published in GitHub releases.
- 2023: README documents Homebrew, Scoop, apt, yum, AUR, and Go installation paths.
- 2026-06-07: GitHub release 0.3.3 published.

### Related projects

- git: gut delegates core version-control behavior to the standard git executable.
- Scoop, Homebrew, apt, yum, and AUR: package-manager surfaces documented by the project for installation.
- GitHub, GitLab, and Bitbucket: hosting platforms named in the README for pull-request and comparison workflows.

### 来源

- <https://api.github.com/repos/julien040/gut>
- <https://api.github.com/repos/julien040/gut/releases?per_page=100>
- <https://github.com/julien040/gut>
- <https://gut-cli.dev/>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Nix - gut: normalized package name match | nixpkgs package indexes: pkgs/by-name/gu/gut/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/gut: normalized package name match | Scoop official bucket manifest trees: bucket/gut.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/gut.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gut.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
