# Installer nq avec Homebrew, apk, apt, dnf, MacPorts, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de nq pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:nq
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install nq
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install nq
```

  Preuve: MacPorts ports tree: sysutils/nq/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add nq
```

  Preuve: Alpine Linux edge package indexes: nq from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install nq
```

  Preuve: Debian stable package indexes: nq from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install nq
```

  Preuve: Fedora Rawhide package metadata: nq from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#nq
```

  Preuve: nixpkgs package indexes: pkgs/by-name/nq/nq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:nq
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.0
- **Résumé source:** Unix command-line queue utility
- **Page d'accueil:** <https://github.com/leahneukirchen/nq>
- **Dépôt:** <https://github.com/leahneukirchen/nq>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- nq (alias)
- nqtail (alias)
- nqterm (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.0
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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

### Sources

- <https://api.github.com/repos/leahneukirchen/nq>
- <https://api.github.com/repos/leahneukirchen/nq/commits/2556453d844f9d5224abd843ea2de3df1e8a0d42>
- <https://api.github.com/repos/leahneukirchen/nq/commits/2bb551efd8b3e50d715482a8f3b89f88bae74397>
- <https://api.github.com/repos/leahneukirchen/nq/tags?per_page=10>
- <https://formulae.brew.sh/api/formula/nq.json>
- <https://github.com/leahneukirchen/nq>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Debian apt - nq - 1.0-0.2: normalized package name match | Debian stable package indexes: nq from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Lightweight queue system | https://git.vuxu.org/nq/about/
- Nix - nq: normalized package name match | nixpkgs package indexes: pkgs/by-name/nq/nq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - nq - 0.3.1-4: normalized package name match | Ubuntu 24.04 LTS package indexes: nq from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Lightweight queue system | https://git.vuxu.org/nq/about/
- apk - nq - 1.0-r2: normalized package name match | Alpine Linux edge package indexes: nq from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Unix command line queue utility | https://github.com/leahneukirchen/nq
- apk - nq-doc - 1.0-r2: normalized package name match | Alpine Linux edge package indexes: nq-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Unix command line queue utility (documentation) | https://github.com/leahneukirchen/nq
- dnf - nq - 1.0-6.fc45: normalized package name match | Fedora Rawhide package metadata: nq from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Unix command line queue utility | https://github.com/leahneukirchen/nq
- MacPorts - nq: normalized package name match | MacPorts ports tree: sysutils/nq/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/nq.yml](https://github.com/mxcl/pkgdb/blob/main/combined/nq.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
