# 使用 Homebrew, chocolatey, MacPorts, Nix, scoop 安装 asciidoctorj

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

## 安装

```sh
sudo av install brew:asciidoctorj
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install asciidoctorj
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install asciidoctorj
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#asciidoctorj
```

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

### Windows

- Chocolatey (92%):

```sh
choco install asciidoctorj
```

  证据: Chocolatey community package catalog: asciidoctorj from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','ansicon'

- Scoop (92%):

```sh
scoop install main/asciidoctorj
```

  证据: Scoop official bucket manifest trees: bucket/asciidoctorj.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:asciidoctorj
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/asciidoctorj>
- **版本:** 3.0.1
- **来源摘要:** Java wrapper and bindings for Asciidoctor
- **主页:** <https://github.com/asciidoctor/asciidoctorj>
- **仓库:** <https://github.com/asciidoctor/asciidoctorj>
- **上游文档:** <https://docs.asciidoctor.org/asciidoctorj/latest>
- **许可证:** Apache-2.0
- **源码归档:** <https://search.maven.org/remotecontent?filepath=org/asciidoctor/asciidoctorj/3.0.1/asciidoctorj-3.0.1-bin.zip>
- **最后更新:** 2026-06-22T14:02:46-07:00
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- asciidoctorj (cli)
- asciidoctorj (别名)

## 依赖

- openjdk

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 3.0.1
- 管理器更新时间: 2026-06-22
- 本地数据: OK
- 上游仓库: https://github.com/asciidoctor/asciidoctorj
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

AsciidoctorJ is the official JVM integration for Asciidoctor, letting Java and other JVM programs run Asciidoctor and inspect parsed AsciiDoc documents. For package users it is both a command-line converter and a Maven Central artifact family, making AsciiDoc processing available in Java build systems without requiring a separate Ruby toolchain.

### 项目历史

The project sits inside the Asciidoctor ecosystem as the Java binding layer for the Ruby Asciidoctor processor. Its official README describes AsciidoctorJ as the official library for running Asciidoctor on the JVM and credits Alex Soto, Dan Allen, and Robert Panzer as maintainers/authors on the README header.

AsciidoctorJ's early public release line was already formalized by 2014: the repository has an annotated `asciidoctorj-1.5.0` tag dated 2014-08-17, and the README notes that the Maven artifactId changed to `asciidoctorj` starting in 1.5.0. The project later kept a long 2.x series and published 3.0.0 in 2024, continuing the JVM-facing role while the wider Asciidoctor documentation moved to docs.asciidoctor.org.

### 采用历史

AsciidoctorJ's adoption path is centered on Java build tooling. The README documents Maven, Gradle, SBT, and Leiningen dependency examples and says the artifacts are published to Maven Central, which made it useful for documentation pipelines embedded in JVM projects.

Package-manager adoption followed the same developer-tool pattern: the input package facts list Homebrew, Chocolatey, MacPorts, Nix, and Scoop packages. That spread matters because AsciidoctorJ is often installed as a CLI by documentation authors even when the underlying attraction is JVM integration.

### 使用方式

The CLI use case is converting AsciiDoc files from the shell, for example running `asciidoctorj -b pdf README.adoc`. The library use case is declaring `org.asciidoctor:asciidoctorj` in a JVM build and invoking Asciidoctor conversion or AST inspection from Java or another JVM language.

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

AsciidoctorJ is interesting to package nerds because it packages a Ruby-origin documentation processor for the JVM world. It bridges language ecosystems: Ruby Asciidoctor behavior, Java dependency management, build plugins, and a cross-platform command-line distribution all meet in one package.

### 时间线

- 2013: GitHub repository created for Java bindings for Asciidoctor.
- 2014: `asciidoctorj-1.5.0` annotated tag published; README notes the artifactId changed to `asciidoctorj` in 1.5.0.
- 2021: 2.5.0 release published.
- 2024: 3.0.0 release published.

### Related projects

- Asciidoctor is the upstream AsciiDoc processor that AsciidoctorJ runs on the JVM.
- Asciidoctor Maven and Gradle integrations are documented as build-system paths for using AsciidoctorJ.

### 来源

- <https://api.github.com/repos/asciidoctor/asciidoctorj/git/tags/7c13dc87906743b5524a6f7ac6c3c9e23e54ead5>
- <https://docs.asciidoctor.org/asciidoctorj/latest>
- <https://github.com/asciidoctor/asciidoctorj>
- source_facts.package-manager


## 安全说明

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:** asciidoctorj
- **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

## 其他软件包管理器记录

- Nix - asciidoctorj: normalized package name match | nixpkgs package indexes: pkgs/by-name/as/asciidoctorj/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - asciidoctorj: normalized package name match | MacPorts ports tree: textproc/asciidoctorj/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - asciidoctorj: normalized package name match | Chocolatey community package catalog: asciidoctorj from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','ansicon'
- Scoop - main/asciidoctorj: normalized package name match | Scoop official bucket manifest trees: bucket/asciidoctorj.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [openjdk](https://www.automicvault.com/zh-hans/pkg/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [asciidoctor](https://www.automicvault.com/zh-hans/pkg/brew/asciidoctor/) - Shares av.db curated category or tags: asciidoc, cli, developer-tools, documentation.
- [jbake](https://www.automicvault.com/zh-hans/pkg/brew/jbake/) - Shares av.db curated category or tags: asciidoc, cli, developer-tools, java.
- [action-docs](https://www.automicvault.com/zh-hans/pkg/brew/action-docs/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [adr-tools](https://www.automicvault.com/zh-hans/pkg/brew/adr-tools/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [adr-viewer](https://www.automicvault.com/zh-hans/pkg/brew/adr-viewer/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [amdatu-bootstrap](https://www.automicvault.com/zh-hans/pkg/brew/amdatu-bootstrap/) - Shares av.db curated category or tags: cli, developer-tools, java.
- [ant](https://www.automicvault.com/zh-hans/pkg/brew/ant/) - Shares av.db curated category or tags: cli, developer-tools, java.
- [antlr](https://www.automicvault.com/zh-hans/pkg/brew/antlr/) - Shares av.db curated category or tags: cli, developer-tools, java.
- [bundletool](https://www.automicvault.com/zh-hans/pkg/brew/bundletool/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, java, openjdk.
- [dex2jar](https://www.automicvault.com/zh-hans/pkg/brew/dex2jar/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, java, openjdk.
- [fernflower](https://www.automicvault.com/zh-hans/pkg/brew/fernflower/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, java, openjdk.

## Combined YAML source

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


## 来源

- 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
