# nix-community/nixos-anywhere

Install NixOS everywhere via SSH [maintainers=@Mic92 @Lassulus @phaer @Enzime @a-kenji]

Repository: https://github.com/nix-community/nixos-anywhere
Canonical: https://ross.abutalabs.com/products/nixos-anywhere
Homepage: https://nix-community.github.io/nixos-anywhere/
Language: Shell
License: MIT
License Family: permissive
Topics: deployment, nix, nixos, build-with-buildbot
Last push: 2026-08-26T07:24:57+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 44, longevity 99
- inputs: {"age_days": 1393, "days_push": 7, "days_rel": 293, "gap_med": 47, "n_releases_24m": 10}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3405, forks 210 (observed 2026-08-28T04:08:02.989992+00:00)

## What it is
nixos-anywhere is a CLI tool that installs NixOS on remote machines over SSH in a single unattended command. It handles disk partitioning via disko, NixOS installation, and optional package/file provisioning, using kexec to boot into a NixOS installer when needed.

## Use cases
- provision a new remote server with NixOS over ssh
- automate bare-metal NixOS installation on Hetzner or cloud servers
- reproducibly install identical NixOS configurations across many machines
- wipe and repurpose an old machine with a declarative NixOS setup
- install NixOS on a machine with no operating system
- set up disk partitioning and formatting declaratively with disko

## When to choose
- you want unattended, reproducible NixOS installations on remote or bare-metal machines
- you manage a fleet of servers and need identical declarative setups
- you want to combine partitioning (disko) and OS installation in one command

## When to avoid
- the target machine is not x86-64 or aarch64 Linux with kexec support
- you only need to reconfigure an existing NixOS system rather than install from scratch
- the target must be reached over wifi or lacks at least 1.5 GB of RAM

## Facets
- artifact type: cli-tool
- maturity: active
- function: deployment, cli, configuration-management, infrastructure-as-code
- domain: self-hosted, cloud-computing, infrastructure-as-code
- platform: cli, cross-platform
- tags: nixos, nix, disko, kexec, ssh, provisioning, bare-metal, unattended-installation, devops, automation, linux, macos

## Member repositories
- nix-community/nixos-anywhere (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:02.989992+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-29T18:38:36.890199+00:00, confidence not recorded.
  - readme: https://github.com/nix-community/nixos-anywhere (fetched 2026-08-28T04:08:02.989992+00:00, sha 8ac6c81ca1d8)
  - homepage: https://nix-community.github.io/nixos-anywhere/ (fetched 2026-08-29T09:32:32.775458+00:00, sha 9baa620adafb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
