# cweb を Homebrew でインストール

cweb のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:cweb
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install cweb
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:cweb
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/cweb>
- **バージョン:** 4.12.2
- **ソース概要:** Literate documentation system for C, C++, and Java
- **ホームページ:** <https://cs.stanford.edu/~knuth/cweb.html>
- **リポジトリ:** <https://github.com/ascherer/cweb>
- **上流ドキュメント:** <https://cs.stanford.edu/~knuth/cweb.html>
- **ライセンス:** Knuth-CTAN
- **ソースアーカイブ:** <https://github.com/ascherer/cweb/archive/refs/tags/cweb-4.12.2.tar.gz>
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- ctangle (cli)
- cweave (cli)
- ctangle (エイリアス)
- cweave (エイリアス)

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 4.12.2
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/ascherer/cweb
- 検出された最新: cweb-4.12.2 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

CWEB is Donald Knuth and Silvio Levy's literate-programming system for C, C++, and Java, pairing TeX documentation with source extraction through cweave and ctangle.

### プロジェクトの歴史

Knuth's official page explains that WEB originated while he wrote TeX, and that Silvio Levy adapted WEB to C in 1987. Knuth and Levy then revised and enhanced CWEB, including support for C++, ANSI C, and later Java-oriented use.

### 採用の歴史

CWEB has stayed relevant less as a mass-market build tool than as a durable literate-programming reference implementation. The current GitHub project describes several decades of accumulated experience and treats the repository partly as software archaeology for original Levy/Knuth releases.

### 使われ方

CWEB authors write .w files that mix explanation, TeX markup, and program fragments. ctangle extracts compilable source, while cweave produces typeset documentation for humans.

### パッケージ好きにとっての重要性

For package nerds, CWEB is a bridge between TeX culture and systems programming: it packages a historically important programming methodology, a stable pair of classic command-line tools, and a living archive of CWEB releases.

### タイムライン

- 1987: Silvio Levy adapts WEB to C.
- 1993: Knuth and Levy publish The CWEB System of Structured Documentation.
- 2001: Third printing documents version 3.6 with hypertext extensions.
- The ascherer/cweb repository carries release records and archival material.

### Related projects

- CWEB is related to WEB, TeX, CTANGLE, CWEAVE, CTWILL, TeX Live, and other literate-programming environments.

### ソース

- <https://cs.stanford.edu/~knuth/cweb.html>
- <https://github.com/ascherer/cweb>
- <https://raw.githubusercontent.com/ascherer/cweb/master/README.md>
- <https://github.com/ascherer/cweb/releases>


## セキュリティノート

cweb に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。


## ソースデータベース詳細

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


## 関連リンク

- [Language runtime packages](https://www.automicvault.com/ja/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Documentation packages](https://www.automicvault.com/ja/pkg/documentation-tools/) - Matched documentation, manual, or publishing metadata.
- [Web development packages](https://www.automicvault.com/ja/pkg/web-dev-tools/) - Matched web development metadata.

## Combined YAML source

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


## ソース

- Nucleus package database
- package-page enrichment
- curated package history
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
