# 使用 npm 安装 bun

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

## 安装

```sh
sudo av install npm:bun
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g bun
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:bun
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/bun>
- **版本:** 1.3.14
- **来源摘要:** Bun is a fast all-in-one JavaScript runtime.
- **主页:** <https://bun.com>
- **仓库:** <https://github.com/oven-sh/bun>
- **上游文档:** <https://bun.com>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/bun/-/bun-1.3.14.tgz>
- **问题跟踪器:** <https://github.com/oven-sh/issues>
- **发布时间:** 2026-05-13T04:02:43.309Z
- **最后更新:** 2026-05-13T04:02:43.309Z
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- bun (cli)
- bunx (cli)

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 1.3.14
- 管理器更新时间: 2026-05-13
- 本地数据: OK
- 上游仓库: https://github.com/oven-sh/bun
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Canary: 1.3.13-canary.20260425.1, Latest: 1.3.14
- **Version Count:** 1,299
- **Maintainers:** jarred, robobun
- **Publisher:** jarred
- **Optional Dependencies:** @oven/bun-darwin-aarch64, @oven/bun-darwin-x64, @oven/bun-darwin-x64-baseline, @oven/bun-freebsd-aarch64, @oven/bun-freebsd-x64, @oven/bun-linux-aarch64, @oven/bun-linux-aarch64-android, @oven/bun-linux-aarch64-musl, @oven/bun-linux-x64, @oven/bun-linux-x64-android, @oven/bun-linux-x64-baseline, @oven/bun-linux-x64-musl, @oven/bun-linux-x64-musl-baseline, @oven/bun-windows-aarch64, @oven/bun-windows-x64, @oven/bun-windows-x64-baseline
- **Integrity:** sha512-aB6GVd42x1Y5ie1K16SF+oLGtgSkwX9hgoDdIW88pjvfTccU8F1vfpoOt34QLv0dZ1v3XimtaxPlZUG81Gx9Zg==
- **Shasum:** 7ed8c12d8d3a0cb4183738b73798ba3b94b4df7e
- **Unpacked Size:** 20,761
- **File Count:** 0
- **Created At:** 2013-03-13T21:04:46.269Z
- **Latest Published At:** 2026-05-13T04:02:43.309Z
- **Modified At:** 2026-05-13T04:02:43.438Z

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

- Nix - bun: normalized package name match | nixpkgs package indexes: pkgs/by-name/bu/bun/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - bun - 1.3.14-1: normalized package name match | Arch Linux sync databases: bun from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one | https://github.com/oven-sh/bun
- MacPorts - bun: normalized package name match | MacPorts ports tree: devel/bun/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - bun: normalized package name match | Chocolatey community package catalog: bun from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','bluejeansapp'
- Scoop - main/bun: normalized package name match | Scoop official bucket manifest trees: bucket/bun.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Oven-sh.Bun: normalized package name match | Windows Package Manager source index: Oven-sh.Bun from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched curated package taxonomy and local package facts.
- [bun](https://www.automicvault.com/zh-hans/pkg/brew/bun/) - Same normalized package name appears in another local ecosystem. Shared terms: bun, bundler, bunx, cli, fast.
- [brittle](https://www.automicvault.com/zh-hans/pkg/npm/brittle/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, http, javascript, networking, node.
- [adminjs](https://www.automicvault.com/zh-hans/pkg/npm/adminjs/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, http, networking, node, node-js.
- [bun](https://www.automicvault.com/zh-hans/pkg/brew/bun/) - 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
