# 使用 npm 安装 jq

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

## 安装

```sh
sudo av install npm:jq
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g jq
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:jq
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/jq>
- **版本:** 1.7.2
- **来源摘要:** Server-side jQuery wrapper for node.
- **仓库:** <https://github.com/logicalparadox/jq>
- **源码归档:** <https://registry.npmjs.org/jq/-/jq-1.7.2.tgz>
- **发布时间:** 2012-04-29T21:20:53.740Z
- **最后更新:** 2012-04-29T21:20:53.740Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- jq (cli)

## 依赖

- jsdom
- xmlhttprequest

## 构建依赖

- async
- colors
- commander
- mocha
- rimraf
- winston

## 安装行为

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

## 版本和新鲜度

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

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 1.7.2
- **Version Count:** 4
- **Maintainers:** jakeluer
- **Author:** Jake Luer
- **Publisher:** jakeluer
- **Engines:** Node: >= 0.4.9
- **Integrity:** sha512-kWnotlfk7S8HVTzgVlmTjVwhOh2iJCQtx0kZSZwq2+qLIuCD92eslezwWR9a+lPNhe1s43VHFrqQMRB57nq36g==
- **Shasum:** f8332cc78a72c9b8f1664a57d439e5255532554c
- **File Count:** 0
- **Created At:** 2011-11-21T19:58:36.030Z
- **Latest Published At:** 2012-04-29T21:20:53.740Z
- **Modified At:** 2022-06-19T04:54:22.192Z

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

- Debian apt - jq - 1.7.1-6+deb13u2: normalized package name match | Debian stable package indexes: jq from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | lightweight and flexible command-line JSON processor | https://jqlang.github.io/jq
- Debian apt - libjq-dev - 1.7.1-6+deb13u2: normalized package name match | Debian stable package indexes: libjq-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | lightweight and flexible command-line JSON processor - development files | https://jqlang.github.io/jq
- Debian apt - libjq1 - 1.7.1-6+deb13u2: normalized package name match | Debian stable package indexes: libjq1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | lightweight and flexible command-line JSON processor - shared library | https://jqlang.github.io/jq
- Nix - jq: normalized package name match | nixpkgs package indexes: pkgs/by-name/jq/jq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - jq - 1.7.1-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: jq from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | lightweight and flexible command-line JSON processor | https://jqlang.github.io/jq
- Ubuntu apt - libjq-dev - 1.7.1-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libjq-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | lightweight and flexible command-line JSON processor - development files | https://jqlang.github.io/jq
- Ubuntu apt - libjq1 - 1.7.1-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libjq1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | lightweight and flexible command-line JSON processor - shared library | https://jqlang.github.io/jq
- apk - jq - 1.8.2-r0: normalized package name match | Alpine Linux edge package indexes: jq from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A lightweight and flexible command-line JSON processor | https://jqlang.github.io/jq/
- apk - jq-dev - 1.8.2-r0: normalized package name match | Alpine Linux edge package indexes: jq-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A lightweight and flexible command-line JSON processor (development files) | https://jqlang.github.io/jq/
- apk - jq-doc - 1.8.2-r0: normalized package name match | Alpine Linux edge package indexes: jq-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A lightweight and flexible command-line JSON processor (documentation) | https://jqlang.github.io/jq/
- dnf - jq - 1.8.2-5.fc45: normalized package name match | Fedora Rawhide package metadata: jq from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Command-line JSON processor | https://jqlang.org/
- dnf - jq-devel - 1.8.2-5.fc45: normalized package name match | Fedora Rawhide package metadata: jq-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Development files for jq | https://jqlang.org/
- pacman - jq - 1.8.2-1: normalized package name match | Arch Linux sync databases: jq from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Command-line JSON processor | https://jqlang.github.io/jq/
- zypper - jq - 1.8.2-1.3: normalized package name match | openSUSE Tumbleweed package metadata: jq from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A lightweight and flexible command-line JSON processor | https://github.com/jqlang
- zypper - libjq-devel - 1.8.2-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libjq-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for jq | https://github.com/jqlang
- zypper - libjq1 - 1.8.2-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libjq1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Library for a lightweight and flexible command-line JSON processor | https://github.com/jqlang


## 相关链接

- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched curated package taxonomy and local package facts.
- [jq](https://pkg.so/zh-hans/brew/jq/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, jq, language.
- [jiti](https://pkg.so/zh-hans/npm/jiti/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, javascript, javascript-runtime, language, language-runtime.
- [node](https://pkg.so/zh-hans/npm/node/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, javascript, javascript-runtime, language, language-runtime.
- [jq](https://pkg.so/zh-hans/brew/jq/) - 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
