Automic VaultAutomic Vault

brew

nsh mit Homebrew, apk, MacPorts, Nix installieren

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

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install nsh

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install nsh

MacPorts ports tree · shells/nsh/Portfile · Quelle: api.github.com

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add nsh

Alpine Linux edge package indexes · nsh · Quelle: dl-cdn.alpinelinux.org

Nixverifiziert · 92%
nix profile install nixpkgs#nsh

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

Überblick

Paketzusammenfassung

Fish-like, POSIX-compatible shell

Befehle und Aliase

  • nsh

Verlauf

Projektgeschichte und Nutzung

nsh is a Rust command-line shell that aims to combine fish-like interactive convenience with POSIX-compatible shell syntax and some Bash extensions. Its README lists tab completion, syntax highlighting, Bash completion support by invoking Bash internally, and zero-configuration interactive features.

Projektgeschichte

The GitHub repository was created on October 5, 2018, and the crates.io package was created on December 19, 2018. A Rust users forum announcement from December 17, 2018 framed the motivation as wanting fish-like out-of-the-box features while keeping traditional shell syntax and Bash scripting features.

Adoptionsgeschichte

nsh is an experimental/alpha shell rather than a mainstream login shell. The README explicitly asks for help to make it practical for daily use and notes missing Bash features and likely bugs. Still, it drew developer interest: the GitHub repository had about 963 stars when queried on 2026-07-01, crates.io reported 33,186 total downloads and 20 versions, and Homebrew, MacPorts, Nix, and Alpine package it.

Wie es verwendet wird

Package users try it as an interactive shell with `nsh`, often via `cargo install nsh` or `brew install nsh`, to get completions and highlighting without adopting fish's non-POSIX language. The realistic usage is experimentation or personal shell sessions, not relying on it as `/bin/sh` for production scripts.

Warum Paket-Nerds sich dafür interessieren

nsh sits in the recurring shell-design niche: keep Bourne/POSIX familiarity, borrow fish's interactive ergonomics, and implement it in Rust. For package catalogs it is best described as an interesting alternative shell with modest packaging footprint and alpha-stage caveats.

Zeitleiste

  • 2018-10-05: GitHub repository created.
  • 2018-12-17: author announced nsh on users.rust-lang.org.
  • 2018-12-19: crates.io package created.
  • 2021-07-21: crates.io metadata updated to version 0.4.2.
  • 2023-02-11: GitHub repository pushed timestamp observed by API query.

Sicherheitslage

Risikostufe: yellow

generalized runtime or code generation signal.

Risikoklassifikator

yellow Risiko · mittel Konfidenz · runtime

Warum

  • generalized runtime or code generation signal

Signale

  • text:shell

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 13 Plattformziele verfügbar.
  • Build-Metadaten listen 1 Build-Abhä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
nshcliglobales 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-26
Manager-Version0.4.2
Manager aktualisiert
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv0.4.2

https://github.com/nuta/nsh

  • InfoNo package-manager update timestamp was available.niedrig Konfidenz

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:nsh
Version0.4.2
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/nsh
Homepagehttps://github.com/nuta/nsh
Repositoryhttps://github.com/nuta/nsh
Upstream-Dokumentationhttps://github.com/nuta/nsh#readme
LizenzCC0-1.0 OR MIT
Quellarchivhttps://github.com/nuta/nsh/archive/refs/tags/v0.4.2.tar.gz
Build-Abhängigkeitenrust
Bottleverfügbar (auf arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

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

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

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

Nix95%

nsh

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

nsh 0.4.2-r1

A command-line shell like fish, but POSIX compatible

https://github.com/nuta/nsh

sudo apk add nsh
  • License: CC0-1.0 OR MIT
  • Architecture: x86_64
  • Source Package: nsh
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Nsh
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nsh from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

nsh-dbg 0.4.2-r1

A command-line shell like fish, but POSIX compatible (debug symbols)

https://github.com/nuta/nsh

sudo apk add nsh-dbg
  • License: CC0-1.0 OR MIT
  • Architecture: x86_64
  • Source Package: nsh
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Nsh
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nsh-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
MacPorts95%

nsh

sudo port install nsh
  • normalized package name match
  • Abgeglichen nach: Nsh
MacPorts ports tree · api.github.com · MacPorts ports tree: shells/nsh/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

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.

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