Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, MacPorts, Nix, pacman, dnf 安装 asciidoctor

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install asciidoctor

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install asciidoctor

MacPorts ports tree · textproc/asciidoctor/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add asciidoctor

Alpine Linux edge package indexes · asciidoctor · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install asciidoctor

Debian stable package indexes · asciidoctor · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#asciidoctor

nixpkgs package indexes · pkgs/by-name/as/asciidoctor/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S asciidoctor

Arch Linux sync databases · asciidoctor · 来源: geo.mirror.pkgbuild.com

Fedora dnf已验证 · 92%
sudo dnf install rubygem-asciidoctor

Fedora Rawhide package metadata · rubygem-asciidoctor · 来源: dl.fedoraproject.org

概览

软件包摘要

Text processor and publishing toolchain for AsciiDoc

命令和别名

  • asciidoctor
  • asciidoctor-pdf

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

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

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.

时间线

  • 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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
asciidoctorcli全局可执行文件
asciidoctor-pdfcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本2.0.26
管理器更新时间2026-06-13
本地数据OK
上游当前
检测到的最新版本v2.0.26

https://github.com/asciidoctor/asciidoctor

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:asciidoctor
版本2.0.26
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/asciidoctor
主页https://asciidoctor.org/
仓库https://github.com/asciidoctor/asciidoctor
上游文档https://asciidoctor.org/
许可证MIT
源码归档https://github.com/asciidoctor/asciidoctor/archive/refs/tags/v2.0.26.tar.gz
最后更新2026-06-13T01:02:48+02:00
Pulseupdated
依赖ruby
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameasciidoctor
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

asciidoctor 2.0.23-1

AsciiDoc to HTML rendering for Ruby

https://asciidoctor.org

sudo apt install asciidoctor
  • Section: ruby
  • Architecture: all
  • 2 依赖
  • normalized package name match
  • 匹配方式:Asciidoctor
Debian stable package indexes · deb.debian.org · Debian stable package indexes: asciidoctor from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

asciidoctor-doc 2.0.23-1

AsciiDoc to HTML rendering for Ruby (documentation)

https://asciidoctor.org

sudo apt install asciidoctor-doc
  • Section: doc
  • Architecture: all
  • Source Package: asciidoctor
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Asciidoctor
Debian stable package indexes · deb.debian.org · Debian stable package indexes: asciidoctor-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

ruby-asciidoctor 2.0.23-1

AsciiDoc to HTML rendering for Ruby (core libraries)

https://asciidoctor.org

sudo apt install ruby-asciidoctor
  • Section: ruby
  • Architecture: all
  • Source Package: asciidoctor
  • 1 依赖
  • normalized package name match
  • 匹配方式:Asciidoctor
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ruby-asciidoctor from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

asciidoctor

nix profile install nixpkgs#asciidoctor
  • normalized package name match
  • 匹配方式:Asciidoctor
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/as/asciidoctor/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

asciidoctor 2.0.20-1

AsciiDoc to HTML rendering for Ruby

https://asciidoctor.org

sudo apt install asciidoctor
  • Section: universe/ruby
  • Architecture: all
  • 2 依赖
  • normalized package name match
  • 匹配方式:Asciidoctor
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: asciidoctor from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

asciidoctor-doc 2.0.20-1

AsciiDoc to HTML rendering for Ruby (documentation)

https://asciidoctor.org

sudo apt install asciidoctor-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: asciidoctor
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Asciidoctor
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: asciidoctor-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

ruby-asciidoctor 2.0.20-1

AsciiDoc to HTML rendering for Ruby (core libraries)

https://asciidoctor.org

sudo apt install ruby-asciidoctor
  • Section: universe/ruby
  • Architecture: all
  • Source Package: asciidoctor
  • 1 依赖
  • normalized package name match
  • 匹配方式:Asciidoctor
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ruby-asciidoctor from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

asciidoctor 2.0.26-r0

Converter for AsciiDoc to HTML5, DocBook 5 (or 4.5) and other formats

https://rubygems.org/gems/asciidoctor

sudo apk add asciidoctor
  • License: MIT
  • Architecture: x86_64
  • Source Package: asciidoctor
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Asciidoctor
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: asciidoctor from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

rubygem-asciidoctor 2.0.26-2.fc44

A fast, open source AsciiDoc implementation in Ruby

https://asciidoctor.org

sudo dnf install rubygem-asciidoctor
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: rubygem-asciidoctor
  • 3 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Asciidoctor
Fedora Rawhide package metadata · dl.fedoraproject.org · 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
pacman95%

asciidoctor 2.0.26-1

An implementation of AsciiDoc in Ruby

https://asciidoctor.org

sudo pacman -S asciidoctor
  • License: MIT
  • Architecture: any
  • 1 依赖
  • normalized package name match
  • 匹配方式:Asciidoctor
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: asciidoctor from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

asciidoctor

sudo port install asciidoctor
  • normalized package name match
  • 匹配方式:Asciidoctor
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/asciidoctor/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
pacman92%

asciidoctor-pdf 2.3.24-1

A native PDF converter for AsciiDoc based on Asciidoctor and Prawn

https://github.com/asciidoctor/asciidoctor-pdf

sudo pacman -S asciidoctor-pdf
  • License: MIT
  • Architecture: any
  • 10 依赖
  • 1 可选依赖
  • installed executable or alias match
  • 匹配方式:Asciidoctor Pdf
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: asciidoctor-pdf from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment