macOS
brew install nqlocal Homebrew formula metadata
sudo port install nqMacPorts ports tree · sysutils/nq/Portfile · source: api.github.com
brew
Unix command-line queue utility. Version 1.0 via Homebrew; verified from local package data. Also installable with debian: sudo apt install nq.
install
brew install nqlocal Homebrew formula metadata
sudo port install nqMacPorts ports tree · sysutils/nq/Portfile · source: api.github.com
sudo apk add nqAlpine Linux edge package indexes · nq · source: dl-cdn.alpinelinux.org
sudo apt install nqDebian stable package indexes · nq · source: deb.debian.org
sudo dnf install nqFedora Rawhide package metadata · nq · source: dl.fedoraproject.org
nix profile install nixpkgs#nqnixpkgs package indexes · pkgs/by-name/nq/nq/package.nix · source: api.github.com
overview
Unix command-line queue utility
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
nq | cli | global executable | |
nqtail | cli | global executable | |
nqterm | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/leahneukirchen/nq
install metadata
| Package key | brew:nq |
|---|---|
| Version | 1.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/nq |
| Homepage | https://github.com/leahneukirchen/nq |
| Repository | https://github.com/leahneukirchen/nq |
| Upstream docs | https://github.com/leahneukirchen/nq#readme |
| License | CC0-1.0 |
| Source archive | https://github.com/leahneukirchen/nq/archive/refs/tags/v1.0.tar.gz |
| Bottle | available (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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 nqsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.