# 使用 npm 安装 acorn

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

## 安装

```sh
sudo av install npm:acorn
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g acorn
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:acorn
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/acorn>
- **版本:** 8.18.0
- **来源摘要:** ECMAScript parser
- **主页:** <https://github.com/acornjs/acorn>
- **仓库:** <https://github.com/acornjs/acorn>
- **上游文档:** <https://github.com/acornjs/acorn>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/acorn/-/acorn-8.18.0.tgz>
- **问题跟踪器:** <https://github.com/acornjs/acorn/issues>
- **发布时间:** 2026-07-28T06:47:49.255Z
- **最后更新:** 2026-07-28T06:47:49.255Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- acorn (cli)
- acorn (别名)

## 安装行为

- post-install 钩子: 未定义
- npm 生命周期脚本: prepare
- Bottle: 不可用

## 版本和新鲜度

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

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 8.18.0
- **Version Count:** 140
- **Maintainers:** marijn, adrianheine, rreverser
- **Publisher:** marijn
- **Engines:** Node: >=0.4.0
- **Integrity:** sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==
- **Shasum:** 4faf01b2d6d326bfeed97aea1f52220b5f4c1940
- **Unpacked Size:** 565,327
- **File Count:** 0
- **Created At:** 2012-09-24T10:10:49.310Z
- **Latest Published At:** 2026-07-28T06:47:49.255Z
- **Modified At:** 2026-07-28T06:47:49.439Z

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

- Debian apt - node-acorn - 8.8.1+ds+~cs25.17.7-2: normalized package name match | Debian stable package indexes: node-acorn from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ECMAScript parser for Node.js | https://github.com/ternjs/acorn/
- Debian apt - node-debbundle-acorn - 8.8.1+ds+~cs25.17.7-2: normalized package name match | Debian stable package indexes: node-debbundle-acorn from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Transitional dummy package for upgrading to node-debbundle-acorn | https://github.com/ternjs/acorn/
- Ubuntu apt - node-acorn - 8.8.1+ds+~cs25.17.7-2: normalized package name match | Ubuntu 24.04 LTS package indexes: node-acorn from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ECMAScript parser for Node.js | https://github.com/ternjs/acorn/
- Ubuntu apt - node-debbundle-acorn - 8.8.1+ds+~cs25.17.7-2: normalized package name match | Ubuntu 24.04 LTS package indexes: node-debbundle-acorn from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Transitional dummy package for upgrading to node-debbundle-acorn | https://github.com/ternjs/acorn/
- pacman - acorn - 1:8.18.0-1: normalized package name match | Arch Linux sync databases: acorn from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A tiny, fast JavaScript parser, written completely in JavaScript. | https://github.com/acornjs/acorn
- MacPorts - acorn: normalized package name match | MacPorts ports tree: devel/acorn/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - extras/acorn: normalized package name match | Scoop official bucket manifest trees: bucket/acorn.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- winget - AcornLabs.Acorn: normalized package name match | Windows Package Manager source index: AcornLabs.Acorn from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched curated package taxonomy and local package facts.
- [abi-wan-kanabi](https://pkg.so/zh-hans/npm/abi-wan-kanabi/) - Local package facts share a topical domain. Shared terms: cli, http, networking, npm, parser.
- [autoprefixer](https://pkg.so/zh-hans/npm/autoprefixer/) - Local package facts share a topical domain. Shared terms: cli, http, networking, npm, parser.
- [browser-unpack](https://pkg.so/zh-hans/npm/browser-unpack/) - Local package facts share a topical domain. Shared terms: acorn, cli, http, networking, npm.

## 来源

- 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
