# 使用 npm 安装 asciidoctor

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

## 安装

```sh
sudo av install npm:asciidoctor
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g asciidoctor
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:asciidoctor
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/asciidoctor>
- **版本:** 3.0.4
- **来源摘要:** A JavaScript AsciiDoc processor, cross-compiled from the Ruby-based AsciiDoc implementation, Asciidoctor, using Opal
- **主页:** <https://github.com/asciidoctor/asciidoctor.js>
- **仓库:** <https://github.com/asciidoctor/asciidoctor.js>
- **上游文档:** <https://github.com/asciidoctor/asciidoctor.js>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/asciidoctor/-/asciidoctor-3.0.4.tgz>
- **问题跟踪器:** <https://github.com/asciidoctor/asciidoctor.js/issues>
- **发布时间:** 2024-02-12T11:19:05.000Z
- **最后更新:** 2024-02-12T11:19:05.000Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- asciidoctor (cli)
- asciidoctorjs (cli)

## 依赖

- @asciidoctor/cli
- @asciidoctor/core
- ejs
- handlebars
- nunjucks
- pug

## 构建依赖

- pkg

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 3.0.4
- 管理器更新时间: 2024-02-12
- 本地数据: OK
- 上游仓库: https://github.com/asciidoctor/asciidoctor.js
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 asciidoctor 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 3.0.4, Latest 2: 2.2.9, Testing: 4.0.0-alpha.6
- **Version Count:** 41
- **Maintainers:** ggrossetie
- **Publisher:** ggrossetie
- **Engines:** Node: >=16, npm: >=8
- **Integrity:** sha512-hIc0Bx73wePxtic+vWBHOIgMfKSNiCmRz7BBfkyykXATrw20YGd5a3CozCHvqEPH+Wxp5qKD4aBsgtokez8nEA==
- **Shasum:** 9a53b05dc1cba20c792c5f8921db629cb26da6b9
- **Unpacked Size:** 129,171
- **File Count:** 0
- **Created At:** 2019-03-24T14:57:29.338Z
- **Latest Published At:** 2024-02-12T11:19:05.000Z
- **Modified At:** 2026-06-03T14:20:23.423Z

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

- 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


## 相关链接

- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched curated package taxonomy and local package facts.
- [asciidoctor](https://www.automicvault.com/zh-hans/pkg/brew/asciidoctor/) - Same normalized package name appears in another local ecosystem. Shared terms: asciidoc, asciidoctor, cli, processor, ruby.
- [axiom](https://www.automicvault.com/zh-hans/pkg/npm/axiom/) - Local package facts share a topical domain. Shared terms: cli, handlebars, http, networking, npm.
- [alasql](https://www.automicvault.com/zh-hans/pkg/npm/alasql/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, cross, http, javascript, networking.
- [asciidoctor](https://www.automicvault.com/zh-hans/pkg/brew/asciidoctor/) - Same normalized package name exists in another local package ecosystem.

## 来源

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