# Install asciidoctor with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman

Text processor and publishing toolchain for AsciiDoc. Version 2.0.26 via Homebrew; verified 2026-06-13.

## Install

```sh
sudo av install brew:asciidoctor
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install asciidoctor
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install asciidoctor
```

  Evidence: MacPorts ports tree: textproc/asciidoctor/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add asciidoctor
```

  Evidence: Alpine Linux edge package indexes: asciidoctor from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install asciidoctor
```

  Evidence: Debian stable package indexes: asciidoctor from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install rubygem-asciidoctor
```

  Evidence: Fedora Rawhide package metadata: rubygem-asciidoctor from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#asciidoctor
```

  Evidence: nixpkgs package indexes: pkgs/by-name/as/asciidoctor/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S asciidoctor
```

  Evidence: Arch Linux sync databases: asciidoctor from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:asciidoctor
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/asciidoctor>
- **Version:** 2.0.26
- **Source summary:** Text processor and publishing toolchain for AsciiDoc
- **Homepage:** <https://asciidoctor.org/>
- **Repository:** <https://github.com/asciidoctor/asciidoctor>
- **Upstream docs:** <https://asciidoctor.org/>
- **License:** MIT
- **Source archive:** <https://github.com/asciidoctor/asciidoctor/archive/refs/tags/v2.0.26.tar.gz>
- **Last updated:** 2026-06-13T01:02:48+02:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- asciidoctor (cli)
- asciidoctor-pdf (cli)
- asciidoctor (alias)
- asciidoctor-pdf (alias)

## Dependencies

- ruby

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.0.26
- Package-manager updated: 2026-06-13
- Local data: ok
- Upstream repository: https://github.com/asciidoctor/asciidoctor
- Upstream latest detected: v2.0.26 (current)
## Project history and usage

Asciidoctor is the Ruby-based AsciiDoc processor and publishing toolchain that became the successor to AsciiDoc.py. The official docs describe it as the current reference implementation for interpreting the AsciiDoc language and as the core of a broader ecosystem of runtimes, extensions, converters, and build plugins.

### Project history

The official history traces Asciidoctor to GitHub's need to process AsciiDoc in Ruby for the GitHub application and git-scm.com documentation. GitHub was removing AsciiDoc.py-based rendering because of security and subprocess concerns, while a Ruby implementation had started for the Git website.

Nick Hengeveld made the first `asciidoc.rb` prototype commit for git-scm.com on 2012-04-03. Ryan Waldron made the first Asciidoctor commit on 2012-06-01 using that prototype lineage, and the first Asciidoctor gem release followed on 2012-06-14. In January 2013, GitHub re-enabled AsciiDoc rendering using Asciidoctor instead of AsciiDoc.py, and the project moved to the asciidoctor organization.

Dan Allen took project leadership in April 2013. The project quickly grew beyond the Ruby gem: AsciidoctorJ, Maven and Gradle plugins, Asciidoctor.js, Diagram, PDF, EPUB3, browser preview, and other tooling appeared in the official timeline. Asciidoctor 1.5.0 in 2014 introduced a modernized AsciiDoc syntax, and Asciidoctor 2.0.0 was released in March 2019.

### Adoption history

Asciidoctor's adoption story is unusually explicit in the official history: it preserved GitHub repository rendering for AsciiDoc in 2013, powered git-scm.com documentation, crossed into JVM and JavaScript environments, and reached one million RubyGems downloads by November 2016 and ten million by December 2020.

The current docs describe distribution through RubyGems, Docker images, numerous Linux distribution packages, Homebrew, and MacPorts. The input package facts confirm packaging in Homebrew, Alpine, Debian, Fedora as rubygem-asciidoctor, MacPorts, Nix, Arch, and Ubuntu.

### How it is used

The primary CLI is `asciidoctor`; users run `asciidoctor document.adoc` to produce HTML by default, or select converters and options for HTML5, DocBook, man pages, custom stylesheets, safe modes, extensions, and API-driven conversion. The same core can be used from Ruby, via AsciidoctorJ on the JVM, or via Asciidoctor.js in JavaScript and browser tooling.

### Why package nerds care

Asciidoctor matters to package nerds because it is both a replacement for a security-sensitive legacy processor and a multi-runtime documentation platform. It touches Ruby gems, Linux distro packages, Homebrew, MacPorts, Docker, Maven, Gradle, browser extensions, and JavaScript packages, while serving as the practical reference for a markup language used to build docs, books, man pages, and websites.

### Timeline

- 2012-04-03: First asciidoc.rb prototype commit for git-scm.com.
- 2012-06-01: First Asciidoctor commit by Ryan Waldron.
- 2012-06-14: First Asciidoctor gem release, 0.0.1.
- 2013-01-17: GitHub re-enables AsciiDoc rendering using Asciidoctor.
- 2013-04-16: Project leadership transfers to Dan Allen.
- 2013-04-25: First Asciidoctor release by Dan Allen, 0.1.2.
- 2014-08-12: Asciidoctor 1.5.0 released with modernized AsciiDoc syntax.
- 2016-11-26: Asciidoctor gem reaches over one million downloads.
- 2019-03-22: Asciidoctor 2.0.0 released.
- 2020-12-13: Asciidoctor gem reaches over ten million downloads.

### Related projects

- AsciiDoc.py is the legacy Python processor Asciidoctor succeeded.
- AsciidoctorJ runs Asciidoctor on the JVM and underpins Maven, Gradle, and Java integrations.
- Asciidoctor.js transpiles the Ruby source to JavaScript for browser, Node.js, and editor-preview use.
- Asciidoctor PDF, EPUB3, Diagram, reveal.js, and related extensions expand output formats and authoring workflows.

### Sources

- <https://docs.asciidoctor.org/about/history/>
- <https://docs.asciidoctor.org/asciidoctor/latest/>
- <https://docs.asciidoctor.org/asciidoctor/latest/cli/>
- <https://github.com/asciidoctor/asciidoctor>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** asciidoctor
- **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

## Other Package-Manager Records

- Debian apt - asciidoctor - 2.0.23-1: normalized package name match | Debian stable package indexes: asciidoctor from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | AsciiDoc to HTML rendering for Ruby | https://asciidoctor.org
- Debian apt - asciidoctor-doc - 2.0.23-1: normalized package name match | Debian stable package indexes: asciidoctor-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | AsciiDoc to HTML rendering for Ruby (documentation) | https://asciidoctor.org
- Debian apt - ruby-asciidoctor - 2.0.23-1: normalized package name match | Debian stable package indexes: ruby-asciidoctor from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | AsciiDoc to HTML rendering for Ruby (core libraries) | https://asciidoctor.org
- Nix - asciidoctor: normalized package name match | nixpkgs package indexes: pkgs/by-name/as/asciidoctor/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - asciidoctor - 2.0.20-1: normalized package name match | Ubuntu 24.04 LTS package indexes: asciidoctor from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | AsciiDoc to HTML rendering for Ruby | https://asciidoctor.org
- Ubuntu apt - asciidoctor-doc - 2.0.20-1: normalized package name match | Ubuntu 24.04 LTS package indexes: asciidoctor-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | AsciiDoc to HTML rendering for Ruby (documentation) | https://asciidoctor.org
- Ubuntu apt - ruby-asciidoctor - 2.0.20-1: normalized package name match | Ubuntu 24.04 LTS package indexes: ruby-asciidoctor from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | AsciiDoc to HTML rendering for Ruby (core libraries) | https://asciidoctor.org
- apk - asciidoctor - 2.0.26-r0: normalized package name match | Alpine Linux edge package indexes: asciidoctor from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Converter for AsciiDoc to HTML5, DocBook 5 (or 4.5) and other formats | https://rubygems.org/gems/asciidoctor
- dnf - rubygem-asciidoctor - 2.0.26-2.fc44: normalized package name match | Fedora Rawhide package metadata: rubygem-asciidoctor from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A fast, open source AsciiDoc implementation in Ruby | https://asciidoctor.org
- pacman - asciidoctor - 2.0.26-1: normalized package name match | Arch Linux sync databases: asciidoctor from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | An implementation of AsciiDoc in Ruby | https://asciidoctor.org
- MacPorts - asciidoctor: normalized package name match | MacPorts ports tree: textproc/asciidoctor/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- pacman - asciidoctor-pdf - 2.3.24-1: installed executable or alias match | Arch Linux sync databases: asciidoctor-pdf from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A native PDF converter for AsciiDoc based on Asciidoctor and Prawn | https://github.com/asciidoctor/asciidoctor-pdf


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [ruby](https://www.automicvault.com/pkg/brew/ruby/) - Runtime dependency declared by Homebrew.
- [asciidoctorj](https://www.automicvault.com/pkg/brew/asciidoctorj/) - Shares av.db curated category or tags: asciidoc, cli, developer-tools, documentation.
- [action-docs](https://www.automicvault.com/pkg/brew/action-docs/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [adr-tools](https://www.automicvault.com/pkg/brew/adr-tools/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [adr-viewer](https://www.automicvault.com/pkg/brew/adr-viewer/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [cargo-docset](https://www.automicvault.com/pkg/brew/cargo-docset/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [cheat](https://www.automicvault.com/pkg/brew/cheat/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [context7-mcp](https://www.automicvault.com/pkg/brew/context7-mcp/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [cppman](https://www.automicvault.com/pkg/brew/cppman/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [asciidoctor](https://www.automicvault.com/pkg/npm/asciidoctor/) - Same normalized package name appears in another local ecosystem. Shared terms: asciidoc, asciidoctor, processor, ruby.
- [imessage-ruby](https://www.automicvault.com/pkg/brew/imessage-ruby/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, ruby, text.
- [asciidoctor](https://www.automicvault.com/pkg/npm/asciidoctor/) - Same normalized package name in another local ecosystem.

## Combined YAML source

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


## Sources

- 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
