# nix-community/nh

Yet another Nix CLI helper. [Maintainers=@NotAShelf, @faukah]

Repository: https://github.com/nix-community/nh
Canonical: https://ross.abutalabs.com/products/nh
Language: Rust
License: EUPL-1.2
License Family: copyleft
Topics: nixos, nix, nix-flake, home-manager, nix-darwin, nix-helper
Last push: 2026-08-26T07:44:10+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 95, longevity 100
- inputs: {"age_days": 1667, "days_push": 7, "days_rel": 36, "gap_med": 20, "n_releases_24m": 4}
- flags: no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3140, forks 125 (observed 2026-08-28T04:07:45.779865+00:00)

## What it is
nh is a Rust-based CLI helper that wraps and improves common Nix and NixOS commands, including flake-based rebuilds, home-manager, and nix-darwin operations. It provides a friendlier, more ergonomic interface for managing NixOS system and user configurations.

## Use cases
- rebuild nixos configuration from flake
- run home-manager switch more easily
- clean old nix generations
- manage nix-darwin rebuilds on macos
- simplify nixos-rebuild commands
- search nix packages from terminal

## When to choose
- you use NixOS or nix-darwin with flakes and want a nicer CLI
- you want a single tool wrapping nixos-rebuild, home-manager, and nix commands
- you want friendlier output and defaults for Nix operations

## When to avoid
- you don't use the Nix package manager
- you prefer raw nix/nixos-rebuild commands without wrappers
- you need a GUI for Nix management

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, developer-tools, package-manager, configuration-management
- domain: developer-tools, operating-systems
- platform: cli, rust
- tags: nix, nixos, nix-flakes, home-manager, nix-darwin, rust, command-line, linux, macos

## Member repositories
- nix-community/nh (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:45.779865+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:26:02.490785+00:00, confidence not recorded.
  - registry_crates: https://crates.io/api/v1/crates/nh (fetched 2026-08-29T09:40:42.398591+00:00, sha e3a224d53d50)
- Data as of 2026-08-30T08:39:29.467469+00:00.
