Automic VaultAutomic Vault

brew

ni mit Homebrew, Nix, apt installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für ni in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install ni

local Homebrew formula metadata

Linux

Nixverifiziert · 92%
nix profile install nixpkgs#ni

nixpkgs package indexes · pkgs/by-name/ni/ni/package.nix · Quelle: api.github.com

Debian aptverifiziert · 92%
sudo apt install nd

Debian stable package indexes · nd · Quelle: deb.debian.org

Überblick

Paketzusammenfassung

Selects the right Node package manager based on lockfiles

Befehle und Aliase

  • na
  • nci
  • nd
  • ni
  • nlx
  • nr
  • nun
  • nup

Verlauf

Projektgeschichte und Nutzung

`ni` is Anthony Fu's JavaScript package-manager dispatcher: one set of short commands that detects whether a project uses npm, Yarn, pnpm, Bun, or Deno and runs the matching package-manager command.

Projektgeschichte

The npm registry metadata for `@antfu/ni` shows the package created on November 5, 2020. The project later moved under the `antfu-collective` GitHub organization while keeping the author ecosystem around Anthony Fu's JavaScript tooling.

The README documents the core idea as lockfile and package metadata detection. It maps `ni`, `nr`, `nlx`, `nup`, `nun`, `nci`, `nd`, and `na` onto equivalent npm, Yarn, pnpm, Bun, and Deno operations, and uses the separate `package-manager-detector` package for detection.

Adoptionsgeschichte

The tool became a small package-nerd convenience in the Node ecosystem because frontend and monorepo developers often switch between repositories with different lockfiles. Homebrew analytics on July 1, 2026 reported 1,661 install-on-request events over 365 days, and the npm package was modified as version 30.2.0 on June 25, 2026.

The ecosystem signal is not that `ni` owns dependency installation, but that it standardizes muscle memory. Its README includes Homebrew and asdf installation paths, auto-install support for missing package managers, and configuration through `~/.nirc` or environment variables.

Wie es verwendet wird

Practical usage is intentionally tiny: run `ni` to install dependencies, `nr` to run scripts, `nlx` to download and execute a package, `nup` to upgrade, `nun` to uninstall, `nci` for clean/frozen installs, and `na` to invoke the detected package manager itself. The tool detects `yarn.lock`, `pnpm-lock.yaml`, `package-lock.json`, `bun.lock`, `bun.lockb`, `deno.json`, `deno.jsonc`, or the `packageManager` field.

Zeitleiste

  • {'date': '2020-11-05', 'event': '`@antfu/ni` npm package created.'}
  • {'date': '2026-06-25', 'event': 'npm metadata listed version 30.2.0 as the latest package version.'}

Related projects

  • npm
  • Yarn
  • pnpm
  • Bun
  • Deno
  • package-manager-detector

Sicherheitslage

Risikostufe: orange

infrastructure mutation or orchestration signal.

Risikoklassifikator

orange Risiko · mittel Konfidenz · infrastructure

Warum

  • infrastructure mutation or orchestration signal

Signale

  • text:package manager

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 1 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
nacliglobales Executable
ncicliglobales Executable
ndcliglobales Executable
nicliglobales Executable
nlxcliglobales Executable
nrcliglobales Executable
nuncliglobales Executable
nupcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-25
Manager-Version30.3.0
Manager aktualisiert2026-07-23
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://github.com/antfu-collective/ni

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:ni
Version30.3.0
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/ni
Homepagehttps://github.com/antfu-collective/ni
Repositoryhttps://github.com/antfu-collective/ni
Upstream-Dokumentationhttps://github.com/antfu-collective/ni#readme
LizenzMIT
Quellarchivhttps://registry.npmjs.org/@antfu/ni/-/ni-30.3.0.tgz
Zuletzt aktualisiert2026-07-23T06:02:53Z
Pulseupdated
Abhängigkeitennode
Bottleverfügbar (auf all)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

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

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

ni

nix profile install nixpkgs#ni
  • normalized package name match
  • Abgeglichen nach: Ni
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ni/ni/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Debian apt92%

nd 0.8.2-8.1

small command line interface to WebDAV servers

http://gohome.org/nd/

sudo apt install nd
  • Section: net
  • Architecture: amd64
  • 3 Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: Nd
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt92%

nd 0.8.2-8.1

small command line interface to WebDAV servers

http://gohome.org/nd/

sudo apt install nd
  • Section: universe/net
  • Architecture: amd64
  • 3 Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: Nd
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Combined YAML source

View the package source record on GitHub.

combined/ni.yml

Verwendete Quellen

  • 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