1.
Introduction
2.
Quick Start
3.
Installation
3.1.
Supported Platforms
3.2.
Installing a Binary Distribution
3.3.
Installing Nix from Source
3.3.1.
Prerequisites
3.3.2.
Obtaining a Source Distribution
3.3.3.
Building Nix from Source
3.4.
Using Nix within Docker
3.5.
Security
3.5.1.
Single-User Mode
3.5.2.
Multi-User Mode
3.6.
Environment Variables
3.7.
Upgrading Nix
3.8.
Uninstalling Nix
4.
Package Management
4.1.
Basic Package Management
4.2.
Profiles
4.3.
Garbage Collection
4.3.1.
Garbage Collector Roots
4.4.
Sharing Packages Between Machines
4.4.1.
Serving a Nix store via HTTP
4.4.2.
Copying Closures via SSH
4.4.3.
Serving a Nix store via SSH
4.4.4.
Serving a Nix store via S3
5.
Nix Language
5.1.
Data Types
5.2.
Language Constructs
5.2.1.
String interpolation
5.3.
Operators
5.4.
Derivations
5.4.1.
Advanced Attributes
5.5.
Built-in Constants
5.6.
Built-in Functions
6.
Advanced Topics
6.1.
Remote Builds
6.2.
Tuning Cores and Jobs
6.3.
Verifying Build Reproducibility
6.4.
Using the post-build-hook
7.
Command Reference
7.1.
Common Options
7.2.
Common Environment Variables
7.3.
Main Commands
7.3.1.
nix-build
7.3.2.
nix-shell
7.3.3.
nix-store
7.3.3.1.
nix-store --add-fixed
7.3.3.2.
nix-store --add
7.3.3.3.
nix-store --delete
7.3.3.4.
nix-store --dump-db
7.3.3.5.
nix-store --dump
7.3.3.6.
nix-store --export
7.3.3.7.
nix-store --gc
7.3.3.8.
nix-store --generate-binary-cache-key
7.3.3.9.
nix-store --import
7.3.3.10.
nix-store --load-db
7.3.3.11.
nix-store --optimise
7.3.3.12.
nix-store --print-env
7.3.3.13.
nix-store --query
7.3.3.14.
nix-store --read-log
7.3.3.15.
nix-store --realise
7.3.3.16.
nix-store --repair-path
7.3.3.17.
nix-store --restore
7.3.3.18.
nix-store --serve
7.3.3.19.
nix-store --verify-path
7.3.3.20.
nix-store --verify
7.3.4.
nix-env
7.3.4.1.
nix-env --delete-generations
7.3.4.2.
nix-env --install
7.3.4.3.
nix-env --list-generations
7.3.4.4.
nix-env --query
7.3.4.5.
nix-env --rollback
7.3.4.6.
nix-env --set-flag
7.3.4.7.
nix-env --set
7.3.4.8.
nix-env --switch-generation
7.3.4.9.
nix-env --switch-profile
7.3.4.10.
nix-env --uninstall
7.3.4.11.
nix-env --upgrade
7.4.
Utilities
7.4.1.
nix-channel
7.4.2.
nix-collect-garbage
7.4.3.
nix-copy-closure
7.4.4.
nix-daemon
7.4.5.
nix-hash
7.4.6.
nix-instantiate
7.4.7.
nix-prefetch-url
7.5.
Experimental Commands
7.5.1.
nix
7.5.2.
nix build
7.5.3.
nix bundle
7.5.4.
nix copy
7.5.5.
nix daemon
7.5.6.
nix derivation
7.5.7.
nix derivation add
7.5.8.
nix derivation show
7.5.9.
nix develop
7.5.10.
nix doctor
7.5.11.
nix edit
7.5.12.
nix eval
7.5.13.
nix flake
7.5.14.
nix flake archive
7.5.15.
nix flake check
7.5.16.
nix flake clone
7.5.17.
nix flake info
7.5.18.
nix flake init
7.5.19.
nix flake lock
7.5.20.
nix flake metadata
7.5.21.
nix flake new
7.5.22.
nix flake prefetch
7.5.23.
nix flake show
7.5.24.
nix flake update
7.5.25.
nix fmt
7.5.26.
nix hash
7.5.27.
nix hash file
7.5.28.
nix hash path
7.5.29.
nix hash to-base16
7.5.30.
nix hash to-base32
7.5.31.
nix hash to-base64
7.5.32.
nix hash to-sri
7.5.33.
nix help
7.5.34.
nix help-stores
7.5.35.
nix key
7.5.36.
nix key convert-secret-to-public
7.5.37.
nix key generate-secret
7.5.38.
nix log
7.5.39.
nix nar
7.5.40.
nix nar cat
7.5.41.
nix nar dump-path
7.5.42.
nix nar ls
7.5.43.
nix path-info
7.5.44.
nix print-dev-env
7.5.45.
nix profile
7.5.46.
nix profile diff-closures
7.5.47.
nix profile history
7.5.48.
nix profile install
7.5.49.
nix profile list
7.5.50.
nix profile remove
7.5.51.
nix profile rollback
7.5.52.
nix profile upgrade
7.5.53.
nix profile wipe-history
7.5.54.
nix realisation
7.5.55.
nix realisation info
7.5.56.
nix registry
7.5.57.
nix registry add
7.5.58.
nix registry list
7.5.59.
nix registry pin
7.5.60.
nix registry remove
7.5.61.
nix repl
7.5.62.
nix run
7.5.63.
nix search
7.5.64.
nix shell
7.5.65.
nix show-config
7.5.66.
nix store
7.5.67.
nix store add-file
7.5.68.
nix store add-path
7.5.69.
nix store cat
7.5.70.
nix store copy-log
7.5.71.
nix store copy-sigs
7.5.72.
nix store delete
7.5.73.
nix store diff-closures
7.5.74.
nix store dump-path
7.5.75.
nix store gc
7.5.76.
nix store ls
7.5.77.
nix store make-content-addressed
7.5.78.
nix store optimise
7.5.79.
nix store path-from-hash-part
7.5.80.
nix store ping
7.5.81.
nix store prefetch-file
7.5.82.
nix store repair
7.5.83.
nix store sign
7.5.84.
nix store verify
7.5.85.
nix upgrade-nix
7.5.86.
nix why-depends
7.6.
Files
7.6.1.
nix.conf
7.6.2.
Profiles
7.6.2.1.
manifest.nix
7.6.2.2.
manifest.json
7.6.3.
Channels
7.6.4.
Default Nix expression
8.
Architecture and Design
8.1.
File System Object
9.
Protocols
9.1.
Serving Tarball Flakes
10.
Glossary
11.
Contributing
11.1.
Hacking
11.2.
Testing
11.3.
Experimental Features
11.4.
CLI guideline
11.5.
C++ style guide
12.
Release Notes
12.1.
Release 2.17 (2023-07-24)
12.2.
Release 2.16 (2023-05-31)
12.3.
Release 2.15 (2023-04-11)
12.4.
Release 2.14 (2023-02-28)
12.5.
Release 2.13 (2023-01-17)
12.6.
Release 2.12 (2022-12-06)
12.7.
Release 2.11 (2022-08-25)
12.8.
Release 2.10 (2022-07-11)
12.9.
Release 2.9 (2022-05-30)
12.10.
Release 2.8 (2022-04-19)
12.11.
Release 2.7 (2022-03-07)
12.12.
Release 2.6 (2022-01-24)
12.13.
Release 2.5 (2021-12-13)
12.14.
Release 2.4 (2021-11-01)
12.15.
Release 2.3 (2019-09-04)
12.16.
Release 2.2 (2019-01-11)
12.17.
Release 2.1 (2018-09-02)
12.18.
Release 2.0 (2018-02-22)
12.19.
Release 1.11.10 (2017-06-12)
12.20.
Release 1.11 (2016-01-19)
12.21.
Release 1.10 (2015-09-03)
12.22.
Release 1.9 (2015-06-12)
12.23.
Release 1.8 (2014-12-14)
12.24.
Release 1.7 (2014-04-11)
12.25.
Release 1.6.1 (2013-10-28)
12.26.
Release 1.6 (2013-09-10)
12.27.
Release 1.5.2 (2013-05-13)
12.28.
Release 1.5 (2013-02-27)
12.29.
Release 1.4 (2013-02-26)
12.30.
Release 1.3 (2013-01-04)
12.31.
Release 1.2 (2012-12-06)
12.32.
Release 1.1 (2012-07-18)
12.33.
Release 1.0 (2012-05-11)
12.34.
Release 0.16 (2010-08-17)
12.35.
Release 0.15 (2010-03-17)
12.36.
Release 0.14 (2010-02-04)
12.37.
Release 0.13 (2009-11-05)
12.38.
Release 0.12 (2008-11-20)
12.39.
Release 0.11 (2007-12-31)
12.40.
Release 0.10.1 (2006-10-11)
12.41.
Release 0.10 (2006-10-06)
12.42.
Release 0.9.2 (2005-09-21)
12.43.
Release 0.9.1 (2005-09-20)
12.44.
Release 0.9 (2005-09-16)
12.45.
Release 0.8.1 (2005-04-13)
12.46.
Release 0.8 (2005-04-11)
12.47.
Release 0.7 (2005-01-12)
12.48.
Release 0.6 (2004-11-14)
12.49.
Release 0.5 and earlier
Light (default)
Rust
Coal
Navy
Ayu
Nix Reference Manual
Release 0.5 and earlier
Please refer to the Subversion commit log messages.