# github-markdown-toc を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:github-markdown-toc
```

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

### macOS

- Homebrew (100%):

```sh
brew install github-markdown-toc
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:github-markdown-toc
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/github-markdown-toc>
- **バージョン:** 2.0.1
- **ソース概要:** Easy TOC creation for GitHub README.md (in go)
- **ホームページ:** <https://github.com/ekalinin/github-markdown-toc.go>
- **リポジトリ:** <https://github.com/ekalinin/github-markdown-toc.go>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/ekalinin/github-markdown-toc.go/archive/refs/tags/v2.0.1.tar.gz>
- **最終更新:** 2026-07-29T16:05:02+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- gh-md-toc (cli)
- gh-md-toc (エイリアス)

## ビルド依存関係

- go

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.0.1
- マネージャ更新日: 2026-07-29
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/ekalinin/github-markdown-toc.go
- 検出された最新: v2.0.1 (最新)
## プロジェクトの歴史と使われ方

github-markdown-toc is the Go implementation of ekalinin's GitHub README table-of-contents generator. It produces GitHub-style Markdown links for headings in local files, remote GitHub files, multiple documents, or standard input.

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

The Go repository began in July 2015 as a compiled alternative to the original shell-oriented github-markdown-toc tool. Its README highlights the reasons for the Go rewrite: no curl, wget, awk, or similar runtime dependencies; cross-platform binaries; regular-expression parsing; and processing multiple documents.

The release history moved quickly through 0.x tags in 2015 and 2016, reached 1.0.0 in 2018, and later added a 2.x line in 2025. The README documents installation through prebuilt release archives, Go install, source builds, and Homebrew under the gh-md-toc executable.

### 採用の歴史

The tool fits a common GitHub documentation practice: long README files often include a manually pasted table of contents, but GitHub's generated heading anchors can be fussy to reproduce by hand. github-markdown-toc packages that convention into a repeatable CLI for maintainers.

### 使われ方

Practitioners pipe Markdown to gh-md-toc, point it at local README files, or give it GitHub URLs. Options control serial processing, heading depth, indentation, escaping, GitHub tokens, and GitHub Enterprise Server endpoints.

The generated output is usually copied into the source README, making the tool part of documentation maintenance rather than a runtime dependency of the documented project.

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

For package-manager users, the appeal is a single static-feeling command that replaces shell pipelines and browser guessing with a reproducible GitHub-compatible TOC generator. It is small, narrow, and easy to install for documentation chores.

### タイムライン

- 2015: Initial Go implementation commit appears.
- 2015: 0.1.0 and early 0.x tags establish the gh-md-toc command.
- 2018: 1.0.0 is tagged.
- 2025: v2.0.0 starts the 2.x release line.
- 2026: v2.0.1 appears in the release stream.

### Related projects

- github-markdown-toc.go is related to the original github-markdown-toc project, GitHub-flavored Markdown, GitHub Enterprise Server, and README maintenance workflows.

### ソース

- <https://github.com/ekalinin/github-markdown-toc.go>
- <https://github.com/ekalinin/github-markdown-toc.go/releases>
- <https://pkg.go.dev/github.com/ekalinin/github-markdown-toc.go>


## セキュリティノート

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:** github-markdown-toc
- **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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [grip](https://pkg.so/ja/brew/grip/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, github, markdown.
- [go-md2man](https://pkg.so/ja/brew/go-md2man/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, markdown.
- [mdbook](https://pkg.so/ja/brew/mdbook/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, markdown.
- [mkdocs-material](https://pkg.so/ja/brew/mkdocs-material/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, markdown.
- [adr-tools](https://pkg.so/ja/brew/adr-tools/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, markdown.
- [markdown](https://pkg.so/ja/brew/markdown/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, markdown.
- [docmd](https://pkg.so/ja/brew/docmd/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, markdown.
- [ronn](https://pkg.so/ja/brew/ronn/) - Shares pkgdb curated category or tags: cli, developer-tools, documentation, markdown.
- [markdown-toc](https://pkg.so/ja/npm/markdown-toc/) - Both packages work with overlapping file formats or content types. Shared terms: cli, contents, developer, developer-tools, documentation.
- [markdown-toc-gen](https://pkg.so/ja/npm/markdown-toc-gen/) - Both packages work with overlapping file formats or content types. Shared terms: cli, contents, developer, developer-tools, documentation.
- [github-keygen](https://pkg.so/ja/brew/github-keygen/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, github.

## Combined YAML source

View the package source record on GitHub. [combined/github-markdown-toc.yml](https://github.com/mxcl/pkgdb/blob/main/combined/github-markdown-toc.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
- cross-ecosystem install command graph
