macOS
brew install nqlocal Homebrew formula metadata
sudo port install nqMacPorts ports tree · sysutils/nq/Portfile · 来源: api.github.com
安装
brew install nqlocal Homebrew formula metadata
sudo port install nqMacPorts ports tree · sysutils/nq/Portfile · 来源: api.github.com
sudo apk add nqAlpine Linux edge package indexes · nq · 来源: dl-cdn.alpinelinux.org
sudo dnf install nqFedora Rawhide package metadata · nq · 来源: dl.fedoraproject.org
nix profile install nixpkgs#nqnixpkgs package indexes · pkgs/by-name/nq/nq/package.nix · 来源: api.github.com
概览
Unix command-line queue utility
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
nq | cli | 全局可执行文件 | |
nqtail | cli | 全局可执行文件 | |
nqterm | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/leahneukirchen/nq
安装元数据
| 软件包键 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nq |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
nq 1.0-0.2
Lightweight queue system
https://git.vuxu.org/nq/about/
sudo apt install nqnq
nix profile install nixpkgs#nqnq 0.3.1-4
Lightweight queue system
https://git.vuxu.org/nq/about/
sudo apt install nqnq 1.0-r2
Unix command line queue utility
https://github.com/leahneukirchen/nq
sudo apk add nqnq-doc 1.0-r2
Unix command line queue utility (documentation)
https://github.com/leahneukirchen/nq
sudo apk add nq-docnq 1.0-5.fc44
Unix command line queue utility
https://github.com/leahneukirchen/nq
sudo dnf install nqnq
sudo port install nq来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.