# 使用 Homebrew, Nix 安装 gitingest

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

## 安装

```sh
sudo av install brew:gitingest
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gitingest
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gitingest
```

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

## 软件包事实

- **软件包键:** brew:gitingest
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/gitingest>
- **版本:** 0.3.1
- **来源摘要:** Turn any Git repository into a prompt-friendly text ingest for LLMs
- **主页:** <https://gitingest.com>
- **仓库:** <https://github.com/coderamp-labs/gitingest>
- **上游文档:** <https://github.com/coderamp-labs/gitingest#readme>
- **许可证:** MIT
- **源码归档:** <https://files.pythonhosted.org/packages/d6/fe/a915f0c32a3d7920206a677f73c185b3eadf4ec151fb05aedd52e64713f7/gitingest-0.3.1.tar.gz>
- **最后更新:** 2026-06-16T11:29:31Z
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- gitingest (cli)
- gitingest (别名)

## 依赖

- certifi
- pydantic
- python@3.14

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 0.3.1
- 管理器更新时间: 2026-06-16
- 本地数据: OK
- 上游仓库: https://gitingest.com
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Gitingest is a Python-based CLI, web service, and importable package that converts Git repositories or local directories into prompt-friendly text digests for large language model workflows. Its central idea is deliberately simple: turn codebases into structured context containing a tree, selected file contents, size data, and token counts.

### 项目历史

The repository was created in November 2024 by coderamp-labs. The project grew around the convention of replacing `hub` with `ingest` in a GitHub URL, while also offering a `gitingest` command and Python API for local or scripted use.

The README presents Gitingest as more than a command: it links the hosted gitingest.com service, browser extensions, a PyPI package, Docker self-hosting, and Python synchronous and asynchronous APIs. Releases in 2025 show the project moving through early 0.x versions as the LLM code-context use case matured.

### 采用历史

Gitingest's adoption is tied to the rise of LLM-assisted development, where developers often need compact repository context that can be pasted into a model or passed to an agent. Its repository metadata and badges show distribution through PyPI, Homebrew, browser extension stores, and a public website, which helped it reach both terminal users and browser-first users.

The repository metadata collected for this enrichment on July 1, 2026 reported 14,992 GitHub stars, making it one of the more visible package-manager entries in this batch despite its recent origin.

### 使用方式

Practitioners run `gitingest /path/to/directory` or `gitingest https://github.com/owner/repo` to write a digest file, use `--output -` to stream output to standard output, or import `ingest` and `ingest_async` from Python. For private repositories, the README documents a token argument and `GITHUB_TOKEN` environment variable.

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

Gitingest is package-nerd significant because it packages an LLM-era workflow as a normal CLI with PyPI and Homebrew distribution. It turns repository structure into a portable text artifact, which fits shell pipelines, prompt assembly, and agent tooling without requiring a full IDE integration.

### 时间线

- 2024: Repository created by coderamp-labs.
- 2025: Early 0.x releases published on GitHub.
- 2025: README documented CLI, Python package, browser extension, and self-hosted server usage.
- 2026: Repository metadata collected for this enrichment reported broad GitHub visibility.

### Related projects

- Related surfaces include PyPI, gitingest.com, browser extensions for Chromium and Firefox-derived browsers, GitHub personal access tokens, and LLM tooling that consumes repository context.

### 来源

- <https://api.github.com/repos/coderamp-labs/gitingest>
- <https://github.com/coderamp-labs/gitingest>
- <https://github.com/coderamp-labs/gitingest/releases/tag/v0.3.1>
- <https://pypi.org/project/gitingest/>
- <https://pypi.org/pypi/gitingest/json>
- <https://raw.githubusercontent.com/coderamp-labs/gitingest/main/README.md>


## 安全说明

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


## 源数据库详情

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

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

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


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [MCP tool packages](https://www.automicvault.com/zh-hans/pkg/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [AI and agent packages](https://www.automicvault.com/zh-hans/pkg/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [python@3.14](https://www.automicvault.com/zh-hans/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [rawdog](https://www.automicvault.com/zh-hans/pkg/brew/rawdog/) - Shares av.db curated category or tags: ai, cli, coding-agents, llm, python.
- [aicommit](https://www.automicvault.com/zh-hans/pkg/brew/aicommit/) - Shares av.db curated category or tags: ai, cli, coding-agents, git.
- [aicommit2](https://www.automicvault.com/zh-hans/pkg/brew/aicommit2/) - Shares av.db curated category or tags: ai, cli, coding-agents, git.
- [aicommits](https://www.automicvault.com/zh-hans/pkg/brew/aicommits/) - Shares av.db curated category or tags: ai, cli, coding-agents, git.
- [code2prompt](https://www.automicvault.com/zh-hans/pkg/brew/code2prompt/) - Shares av.db curated category or tags: ai, cli, coding-agents, llm.
- [forgecode](https://www.automicvault.com/zh-hans/pkg/brew/forgecode/) - Shares av.db curated category or tags: ai, cli, coding-agents, llm.
- [opencode](https://www.automicvault.com/zh-hans/pkg/brew/opencode/) - Shares av.db curated category or tags: ai, cli, coding-agents, llm.
- [qqqa](https://www.automicvault.com/zh-hans/pkg/brew/qqqa/) - Shares av.db curated category or tags: ai, cli, coding-agents, llm.
- [omnara](https://www.automicvault.com/zh-hans/pkg/brew/omnara/) - Both packages touch the same language runtime or ecosystem. Shared terms: agents, ai, certifi, cli, code.
- [repomix](https://www.automicvault.com/zh-hans/pkg/brew/repomix/) - Local package facts share a topical domain. Shared terms: agents, ai, cli, code, coding.

## Combined YAML source

View the package source record on GitHub. [combined/gitingest.yml](https://github.com/automic-vault/db/blob/main/combined/gitingest.yml)


## 来源

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