# 使用 Homebrew, apt, MacPorts, Nix 安装 noweb

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

## 安装

```sh
sudo av install brew:noweb
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install noweb
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install noweb
```

  证据: MacPorts ports tree: devel/noweb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install noweb
```

  证据: Debian stable package indexes: noweb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#noweb
```

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

## 软件包事实

- **软件包键:** brew:noweb
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/noweb>
- **版本:** 2.13
- **来源摘要:** WEB-like literate-programming tool
- **主页:** <https://www.cs.tufts.edu/~nr/noweb/>
- **仓库:** <https://github.com/nrnrnr/noweb>
- **上游文档:** <https://www.cs.tufts.edu/~nr/noweb>
- **许可证:** BSD-2-Clause
- **源码归档:** <https://github.com/nrnrnr/noweb/archive/refs/tags/v2_13.tar.gz>
- **最后更新:** 2026-06-14T14:47:57+02:00
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- cpif (cli)
- htmltoc (cli)
- nodefs (cli)
- noindex (cli)
- noroff (cli)
- noroots (cli)
- notangle (cli)
- nountangle (cli)
- noweave (cli)
- noweb (cli)
- nuweb2noweb (cli)
- sl2h (cli)
- cpif (别名)
- htmltoc (别名)
- nodefs (别名)
- noindex (别名)
- noroff (别名)
- noroots (别名)
- notangle (别名)
- nountangle (别名)
- noweave (别名)
- noweb (别名)
- nuweb2noweb (别名)
- sl2h (别名)

## 依赖

- icon

## 构建依赖

- gnu-sed

## 安装行为

- post-install 钩子: 未定义
- 注意事项: TeX support files are installed in the directory: $HOMEBREW_CELLAR/noweb/2.13/tex/generic/noweb You may need to add the directory to TEXINPUTS to run noweb properly.
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.13
- 管理器更新时间: 2026-06-14
- 本地数据: OK
- 上游仓库: https://github.com/nrnrnr/noweb
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

noweb is Norman Ramsey's language-independent literate-programming tool. It was designed as a simpler, extensible alternative to WEB-style systems: the homepage emphasizes five control sequences, a four-page manual, and back ends for TeX, LaTeX, HTML, and troff.

The project is historically important even though modern package-manager usage is tiny. Ramsey's homepage says noweb has been used for thirty-five years at universities and industrial sites and for tens of thousands of lines of code in languages including awk, C, C++, Haskell, Icon, Modula-3, OCaml, Perl, Promela, R, Turing, and Standard ML.

### 项目历史

The Hacker's Guide is dated September 1992, with revisions in August 1994 and December 1997. Ramsey's 1994 IEEE Software article 'Literate programming simplified' and the October 1997 Linux Journal article introduced the tool and its approach to a broader audience.

noweb's core idea is a pipeline. The Hacker's Guide describes how every tool begins with a noweb source file, transforms it through simple stages, and then emits code through notangle or documentation through noweave. That architecture let users add behavior by inserting pipeline stages rather than recompiling the tool.

The homepage notes that in 2018 Ramsey released version 2.12 and put noweb on GitHub. GitHub releases later list v2_12 in 2023 and v2_13 in 2023; Homebrew packages version 2.13.

### 采用历史

noweb's adoption was strongest in academic and research programming circles that valued literate programming across multiple languages. The homepage links a maintained user/project list, example programs, a postcard gallery online since April 1998, and LyX support since March 1999.

Homebrew's formula API reported only 49 install-on-request events in its 365-day analytics window. That does not erase the project's historical footprint; it shows that noweb is mostly legacy, archival, academic, or enthusiast infrastructure in modern macOS package usage.

### 使用方式

Users write source in noweb chunks, run notangle to extract compilable code, and run noweave to generate human-readable documentation. The tool intentionally avoids language-specific prettyprinting, trading that feature away for language independence and a small syntax.

Package nerds value noweb because it is old, portable, and inspectable. It ships a cluster of Unix-style tools such as notangle, noweave, noindex, noroots, nodefs, and noweb itself, making it a small literate-programming toolkit rather than a single renderer.

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

noweb is a landmark in literate-programming tooling: less famous than WEB/CWEB, but influential because it made literate programming language-neutral and Unix-pipeline friendly. Its modern package presence is low, but its design remains a reference point for simple documentation/code extraction systems.

### 时间线

- 1992-09: Noweb Hacker's Guide dated September 1992.
- 1994-09: Ramsey's 'Literate programming simplified' published in IEEE Software.
- 1997-10: Linux Journal article on literate programming using noweb published.
- 1999-03: LyX support for noweb noted on the noweb homepage.
- 2018-06-28: homepage states version 2.12 was the supported 2.x version and that the project had been put on GitHub.
- 2023-08-11: GitHub release v2_13 published.

### Related projects

- WEB
- CWEB
- nuweb
- LyX
- Pretzel

### 来源

- <https://api.github.com/repos/nrnrnr/noweb>
- <https://api.github.com/repos/nrnrnr/noweb/releases?per_page=10>
- <https://formulae.brew.sh/api/formula/noweb.json>
- <https://github.com/nrnrnr/noweb>
- <https://www.cs.tufts.edu/~nr/noweb/>
- <https://www.cs.tufts.edu/~nr/noweb/guide.html>


## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

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

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

- Debian apt - noweb - 2.13-2: normalized package name match | Debian stable package indexes: noweb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | WEB-like literate-programming tool | https://www.cs.tufts.edu/~nr/noweb
- Nix - noweb: normalized package name match | nixpkgs package indexes: pkgs/by-name/no/noweb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - noweb - 2.12-4: normalized package name match | Ubuntu 24.04 LTS package indexes: noweb from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | WEB-like literate-programming tool | https://www.cs.tufts.edu/~nr/noweb
- MacPorts - noweb: normalized package name match | MacPorts ports tree: devel/noweb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [icon](https://www.automicvault.com/zh-hans/pkg/brew/icon/) - Runtime dependency declared by Homebrew.
- [gnu-sed](https://www.automicvault.com/zh-hans/pkg/brew/gnu-sed/) - Build dependency declared by Homebrew.
- [action-docs](https://www.automicvault.com/zh-hans/pkg/brew/action-docs/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [adr-tools](https://www.automicvault.com/zh-hans/pkg/brew/adr-tools/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [adr-viewer](https://www.automicvault.com/zh-hans/pkg/brew/adr-viewer/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [cargo-docset](https://www.automicvault.com/zh-hans/pkg/brew/cargo-docset/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [cheat](https://www.automicvault.com/zh-hans/pkg/brew/cheat/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [context7-mcp](https://www.automicvault.com/zh-hans/pkg/brew/context7-mcp/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [cppman](https://www.automicvault.com/zh-hans/pkg/brew/cppman/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [dita-ot](https://www.automicvault.com/zh-hans/pkg/brew/dita-ot/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [protoc-gen-doc](https://www.automicvault.com/zh-hans/pkg/brew/protoc-gen-doc/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, code, code-generation, developer, developer-tools.
- [doxygen](https://www.automicvault.com/zh-hans/pkg/brew/doxygen/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, code, developer, developer-tools, documentation.

## Combined YAML source

View the package source record on GitHub. [combined/noweb.yml](https://github.com/automic-vault/db/blob/main/combined/noweb.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
