# 使用 Homebrew, Nix 安装 garble

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

## 安装

```sh
sudo av install brew:garble
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install garble
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#garble
```

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

## 软件包事实

- **软件包键:** brew:garble
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/garble>
- **版本:** 0.17.0
- **来源摘要:** Obfuscate Go builds
- **主页:** <https://github.com/burrowers/garble>
- **仓库:** <https://github.com/burrowers/garble>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://github.com/burrowers/garble/archive/refs/tags/v0.17.0.tar.gz>
- **最后更新:** 2026-07-26T18:03:02Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- garble (cli)
- garble (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.17.0
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/burrowers/garble
- 检测到的最新版本: v0.17.0 (当前)
## 项目历史与用法

garble is a Go build obfuscator that wraps the Go toolchain to produce deterministic, reproducible obfuscated builds.

### 项目历史

The public GitHub repository was created in December 2019, and its first GitHub release, v0.1.0, was published in March 2021. The README frames garble as a tool coupled to cmd/go so it can support Go modules and build caching.

### 采用历史

garble was adopted by Go users who need to distribute binaries or private source while reducing the amount of source-level information left in compiled artifacts. Its release stream and packaging in Homebrew and Nix place it in the normal CLI toolchain workflow for Go developers.

### 使用方式

The primary commands mirror Go commands, including garble build, garble test, and garble run. The tool also supports garble reverse for de-obfuscating text such as stack traces when the original source is available.

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

garble is notable because it is a language-aware build wrapper rather than a post-build binary packer. For package maintainers, it sits at the intersection of Go module builds, compiler/linker behavior, reproducibility, cache directories, and environment-driven build selection through GOGARBLE.

### 时间线

- 2019: Public GitHub repository created.
- 2021: v0.1.0 released.
- 2026: v0.16.0 released, continuing the 0.x release line.

### Related projects

- garble is tightly related to the Go toolchain, cmd/go, Go modules, and the runtime/debug and linker metadata that it removes or transforms during obfuscated builds.

### 来源

- <https://api.github.com/repos/burrowers/garble>
- <https://api.github.com/repos/burrowers/garble/releases?per_page=100>
- <https://github.com/burrowers/garble>
- <https://raw.githubusercontent.com/burrowers/garble/master/README.md>


## 安全说明

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


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** garble
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Nix - garble: normalized package name match | nixpkgs package indexes: pkgs/by-name/ga/garble/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [osv-scanner](https://pkg.so/zh-hans/brew/osv-scanner/) - Shares pkgdb curated category or tags: cli, go, security.
- [gobuster](https://pkg.so/zh-hans/brew/gobuster/) - Shares pkgdb curated category or tags: cli, go, security.
- [govulncheck](https://pkg.so/zh-hans/brew/govulncheck/) - Shares pkgdb curated category or tags: cli, go, security.
- [gosec](https://pkg.so/zh-hans/brew/gosec/) - Shares pkgdb curated category or tags: cli, go, security.
- [katana](https://pkg.so/zh-hans/brew/katana/) - Shares pkgdb curated category or tags: cli, go, security.
- [naabu](https://pkg.so/zh-hans/brew/naabu/) - Shares pkgdb curated category or tags: cli, go, security.
- [gau](https://pkg.so/zh-hans/brew/gau/) - Shares pkgdb curated category or tags: cli, go, security.
- [enpass-cli](https://pkg.so/zh-hans/brew/enpass-cli/) - Shares pkgdb curated category or tags: cli, go, security.

## Combined YAML source

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


## 来源

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