# 使用 Homebrew 安装 literate-git

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

## 安装

```sh
sudo av install brew:literate-git
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install literate-git
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:literate-git
- **软件包管理器:** Homebrew
- **版本:** 0.5.5
- **来源摘要:** Render hierarchical git repositories into HTML
- **主页:** <https://github.com/bennorth/literate-git>
- **最后更新:** 2026-07-12T12:39:17Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- git-dump-all-trees (别名)
- git-literate-render (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

literate-git is Ben North's proof-of-concept tool for rendering hierarchical Git histories into HTML. It treats a repository's commit graph as material for a literate-programming-style narrative, where merge commits can become expandable sections.

### 项目历史

The project pairs with `git-dendrify`, another Ben North tool that converts between linear and hierarchical Git histories. literate-git renders that hierarchy as a document containing parsed commit messages and source diffs, with top-level commits presented as sections and sub-commits available for expansion.

The README frames the work as an experiment in presenting software development the way articles or papers are structured: sections, subsections, and navigable explanation instead of one flat stream of commits.

### 采用历史

Adoption appears small and experimental. The project is distributed as the `literategit` Python package and as a Homebrew formula, and its README points to a Tamagotchi-style web-app demo rendered from a structured Git history.

### 使用方式

The package installs `git literate-render` and `git dump-all-trees`. A typical workflow creates or dendrifies a structured branch, renders commit messages and diffs to an `index.html` file, and optionally exports source trees for result links.

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

literate-git is package-nerd notable because it packages an unusual Git-history presentation idea rather than a mainstream VCS command. It turns commit topology into publishable documentation, which makes it adjacent to literate programming, tutorial authoring, and repository visualization.

### 时间线

- 2020-02-15: PyPI recorded 0.3.1 and 0.3.1rc1 releases of `literategit`.
- 2021-03-14: The README's demo branch and linked demo identify a Tamagotchi-style web-app render dated 2021-03-14.
- 2024-04-08: PyPI recorded version 0.4.6.
- 2026-04-03: PyPI recorded versions 0.5.2 and 0.5.3.

### Related projects

- Related projects include Git, git-dendrify, literate-programming systems, static HTML documentation tools, and repository-visualization experiments.

### 来源

- <https://github.com/bennorth/git-dendrify>
- <https://github.com/bennorth/literate-git>
- <https://pypi.org/project/literategit/>
- <https://redfrontdoor.org/blog/?p=1287>


## 安全说明

narrow executable package without higher-risk signals.

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


## Combined YAML source

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


## 来源

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