Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix 安装 nq

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install nq

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install nq

MacPorts ports tree · sysutils/nq/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add nq

Alpine Linux edge package indexes · nq · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install nq

Debian stable package indexes · nq · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install nq

Fedora Rawhide package metadata · nq · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#nq

nixpkgs package indexes · pkgs/by-name/nq/nq/package.nix · 来源: api.github.com

概览

软件包摘要

Unix command-line queue utility

命令和别名

  • nq
  • nqtail
  • nqterm

历史

项目历史与用法

nq is a tiny Unix command-line queue utility by Leah Neukirchen. Its GitHub repository was created on 2015-07-31, and its first listed tag, v0.1, points to a commit dated 2015-08-28.

项目历史

The README positions nq as a set of small utilities for lightweight job queues with no setup, maintenance, supervision, or long-running daemon. It depends on POSIX.1-2008 behavior plus flock(2), and the README records testing across Linux, OpenBSD, FreeBSD, NetBSD, Mac OS X, and SmartOS.

The design is deliberately Unixy: jobs are represented by timestamp/PID log files, ordering is enforced with file locks, output is redirected to the job file, and environment variable NQDIR can move queues out of the current directory. The v1.0 tag points to a 2024-07-03 commit that renamed fq to nqtail and tq to nqterm because another fq project created packaging conflicts.

采用历史

nq has more mindshare than its tiny code size suggests. The GitHub metadata consulted for this batch reported about 3.1k stars and 70 forks, and the input record shows packages across Alpine, Homebrew, Debian, Fedora/DNF, MacPorts, Nix, and Ubuntu.

Homebrew analytics reported only 52 installs over its 365-day window, so Homebrew is not the best measure of its audience. Its broader adoption signal is distro packaging and repeated mentions in command-line communities as a no-daemon alternative to heavier queue systems or ad hoc nohup chains.

使用方式

Practical use is simple: prefix a long-running command with nq, get a job id, and let it run in the background in queue order. Users inspect output with nqtail, wait with nq -w, test pending jobs with nq -t, kill by PID-like filename conventions, and set NQDIR when they want named queues.

Package nerds like nq because it solves a real shell annoyance without a service, config file, database, or scheduler. It is especially handy for serializing downloads, builds, benchmark runs, or one-off maintenance commands on machines where installing and supervising a queue daemon would be silly.

为什么软件包爱好者会关心

nq is significant as a minimal Unix tool: it uses filesystem locks and process semantics instead of owning an infrastructure layer. That makes it attractive to users who prefer composable command-line primitives.

时间线

  • 2015-07-31: GitHub repository leahneukirchen/nq created.
  • 2015-08-28: v0.1 tag commit date.
  • 2024-07-03: v1.0 tag commit renames fq to nqtail and tq to nqterm to avoid packaging conflicts.

Related projects

  • task-spooler
  • nohup
  • flock
  • tmux
  • screen

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 10 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
nqcli全局可执行文件
nqtailcli全局可执行文件
nqtermcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-26
管理器版本1.0
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v1.0

https://github.com/leahneukirchen/nq

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:nq
版本1.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/nq
主页https://github.com/leahneukirchen/nq
仓库https://github.com/leahneukirchen/nq
上游文档https://github.com/leahneukirchen/nq#readme
许可证CC0-1.0
源码归档https://github.com/leahneukirchen/nq/archive/refs/tags/v1.0.tar.gz
Bottle可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namenq
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

nq 1.0-0.2

Lightweight queue system

https://git.vuxu.org/nq/about/

sudo apt install nq
  • Section: utils
  • Architecture: amd64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Nq
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nq from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

nq

nix profile install nixpkgs#nq
  • normalized package name match
  • 匹配方式:Nq
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/nq/nq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

nq 0.3.1-4

Lightweight queue system

https://git.vuxu.org/nq/about/

sudo apt install nq
  • Section: universe/utils
  • Architecture: amd64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Nq
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nq from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

nq 1.0-r2

Unix command line queue utility

https://github.com/leahneukirchen/nq

sudo apk add nq
  • License: CC0-1.0
  • Architecture: x86_64
  • Source Package: nq
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nq
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nq from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

nq-doc 1.0-r2

Unix command line queue utility (documentation)

https://github.com/leahneukirchen/nq

sudo apk add nq-doc
  • License: CC0-1.0
  • Architecture: x86_64
  • Source Package: nq
  • normalized package name match
  • 匹配方式:Nq
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nq-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

nq 1.0-5.fc44

Unix command line queue utility

https://github.com/leahneukirchen/nq

sudo dnf install nq
  • License: CC0-1.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: nq
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Nq
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: nq from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

nq

sudo port install nq
  • normalized package name match
  • 匹配方式:Nq
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/nq/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

Combined YAML source

View the package source record on GitHub.

combined/nq.yml

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment