# markdown-toc mit Homebrew, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für markdown-toc in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

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

  Evidenz: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#markdown-toc
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/ma/markdown-toc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:markdown-toc
- **Paketmanager:** Homebrew
- **Version:** 1.2.0
- **Quellzusammenfassung:** Generate a markdown TOC (table of contents) with Remarkable
- **Homepage:** <https://github.com/jonschlinkert/markdown-toc>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- markdown-toc (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 1.2.0
## Projektgeschichte und Nutzung

markdown-toc is a Node.js API and CLI for generating and inserting tables of contents in Markdown files.

### Projektgeschichte

The GitHub repository was created in 2013. The README describes markdown-toc as a tool that uses Remarkable to parse Markdown and can be used from the command line or as an API/plugin.

The project belongs to the ecosystem of README automation tools around Jon Schlinkert's packages, Verb, and Assemble-style documentation workflows. Its own README is generated with Verb using markdown-toc, making the package self-demonstrating.

### Adoptionsgeschichte

The official repository description says the package is used by many well-known projects and thousands of other projects. The README displays npm version/download badges and documents npm installation, while supplied package facts show Homebrew and Nix packaging as well.

### Wie es verwendet wird

The common CLI workflow is to install markdown-toc globally, add a hidden <!-- toc --> marker to a README, and run markdown-toc -i README.md to inject or update the generated TOC. Without in-place mode, the CLI can print a TOC to standard output or JSON.

As an API, markdown-toc returns rendered content plus token data so build scripts can render a custom table of contents. Options cover heading depth, bullet style, slugification, filtering, indentation, and whether to include the first H1.

### Warum Paket-Nerds sich dafür interessieren

markdown-toc is a classic small Unixy documentation helper: it reads Markdown, emits Markdown, and is easy to wire into README generation. Package maintainers care because it has a stable CLI surface and also doubles as a library for build-time documentation automation.

### Zeitleiste

- 2013: GitHub repository created.
- 2010s: README documents npm installation and CLI/API usage for README table-of-contents generation.
- 2026: Supplied package facts list Homebrew and Nix packaging.

### Related projects

- The README identifies Remarkable as the Markdown parser used by markdown-toc.
- The README notes it was generated with Verb and can be used as a Remarkable plugin.

### Quellen

- <https://api.github.com/repos/jonschlinkert/markdown-toc>
- <https://github.com/jonschlinkert/markdown-toc>
- source_facts.package-manager


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Andere Paketmanager-Einträge

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


## Combined YAML source

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


## Quellen

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