# 使用 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>
- **版本:** 4.0.7
- **来源摘要:** A JavaScript AsciiDoc processor powered by Asciidoctor
- **主页:** <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-4.0.7.tgz>
- **问题跟踪器:** <https://github.com/asciidoctor/asciidoctor.js/issues>
- **发布时间:** 2026-07-31T12:48:35.807Z
- **最后更新:** 2026-07-31T12:48:35.807Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- asciidoctor (cli)
- asciidoctorjs (cli)

## 依赖

- @asciidoctor/core

## 构建依赖

- @biomejs/biome
- @rollup/plugin-commonjs
- @rollup/plugin-node-resolve
- ejs
- handlebars
- nunjucks
- postject
- pug

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 4.0.7
- 管理器更新时间: 2026-07-31
- 本地数据: OK
- 上游仓库: https://github.com/asciidoctor/asciidoctor.js
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 4.0.7, Latest 2: 2.2.9, Testing: 4.0.0-alpha.6
- **Version Count:** 49
- **Maintainers:** ggrossetie
- **Publisher:** GitHub Actions
- **Engines:** Node: >=20
- **Integrity:** sha512-ZGrTFu5DcPmPiheoZPJDzVmdFiMd9iTFwWHdPtXDInIR4ED1EFLBcFN5Ppik/oJTGiYvWWAXvmNI7GGksZ3ZVA==
- **Shasum:** 0f104dbb6285f6001c0f604216a0b7c2185c5f52
- **Unpacked Size:** 348,024
- **File Count:** 0
- **Created At:** 2019-03-24T14:57:29.338Z
- **Latest Published At:** 2026-07-31T12:48:35.807Z
- **Modified At:** 2026-07-31T12:48:36.133Z

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

- 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-3.fc45: 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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://pkg.so/zh-hans/networking-protocol-tools/) - Matched curated package taxonomy and local package facts.
- [asciidoctor](https://pkg.so/zh-hans/brew/asciidoctor/) - Same normalized package name appears in another local ecosystem. Shared terms: asciidoc, asciidoctor, cli, processor.
- [buble](https://pkg.so/zh-hans/npm/buble/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, core, http, javascript, networking.
- [adminjs](https://pkg.so/zh-hans/npm/adminjs/) - Local package facts share a topical domain. Shared terms: cli, core, http, networking, npm.
- [asciidoctor](https://pkg.so/zh-hans/brew/asciidoctor/) - Same normalized package name exists in another local package ecosystem.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
