# 使用 npm 安装 qrcode

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

## 安装

```sh
sudo av install npm:qrcode
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g qrcode
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:qrcode
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/qrcode>
- **版本:** 1.5.4
- **来源摘要:** QRCode / 2d Barcode api with both server side and client side support using canvas
- **主页:** <http://github.com/soldair/node-qrcode>
- **仓库:** <https://github.com/soldair/node-qrcode>
- **上游文档:** <http://github.com/soldair/node-qrcode>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/qrcode/-/qrcode-1.5.4.tgz>
- **问题跟踪器:** <https://github.com/soldair/node-qrcode/issues>
- **发布时间:** 2024-08-05T21:52:58.518Z
- **最后更新:** 2024-08-05T21:52:58.518Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- qrcode (cli)
- qrcode (别名)

## 依赖

- dijkstrajs
- pngjs
- yargs

## 构建依赖

- @babel/core
- @babel/preset-env
- @rollup/plugin-commonjs
- @rollup/plugin-node-resolve
- browserify
- canvas
- canvasutil
- colors
- express
- htmlparser2
- rollup
- rollup-plugin-babel
- rollup-plugin-terser
- sinon
- standard
- tap

## 安装行为

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

## 版本和新鲜度

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

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Beta: 0.8.2, Latest: 1.5.4
- **Version Count:** 50
- **Maintainers:** soldair, vigreco
- **Author:** Ryan Day
- **Publisher:** soldair
- **Engines:** Node: >=10.13.0
- **Integrity:** sha512-1ca71Zgiu6ORjHqFBDpnSMTR2ReToX4l1Au1VFLyVeBTFavzQnv5JxMFr3ukHVKpSrSA2MCk0lNJSykjUfz7Zg==
- **Shasum:** 5cb81d86eb57c675febb08cf007fff963405da88
- **Unpacked Size:** 135,364
- **File Count:** 0
- **Created At:** 2010-12-21T10:54:37.802Z
- **Latest Published At:** 2024-08-05T21:52:58.518Z
- **Modified At:** 2025-11-13T00:56:56.222Z

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

- Nix - qrcode: normalized package name match | nixpkgs package indexes: pkgs/by-name/qr/qrcode/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Media and graphics packages](https://www.automicvault.com/zh-hans/pkg/media-graphics-tools/) - Matched curated package taxonomy and local package facts.
- [qrcode-svg](https://www.automicvault.com/zh-hans/pkg/npm/qrcode-svg/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, code, graphics, javascript, media.
- [qrcode-terminal](https://www.automicvault.com/zh-hans/pkg/npm/qrcode-terminal/) - Package names and metadata indicate a similar tool family. Shared terms: cli, code, graphics, media, qr-code.
- [qrcode-terminal-nooctal](https://www.automicvault.com/zh-hans/pkg/npm/qrcode-terminal-nooctal/) - Package names and metadata indicate a similar tool family. Shared terms: cli, code, graphics, media, qr-code.

## 来源

- 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
