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.
Nix Store
4.1.
File System Object
4.2.
Store Object
4.3.
Store Path
4.4.
Store Types
4.4.1.
Dummy Store
4.4.2.
Experimental SSH Store
4.4.3.
Experimental SSH Store with filesytem mounted
4.4.4.
HTTP Binary Cache Store
4.4.5.
Local Binary Cache Store
4.4.6.
Local Daemon Store
4.4.7.
Local Store
4.4.8.
S3 Binary Cache Store
4.4.9.
SSH Store
5.
Nix Language
5.1.
Data Types
5.2.
Language Constructs
5.2.1.
String interpolation
5.2.2.
Lookup path
5.3.
Operators
5.4.
Derivations
5.4.1.
Advanced Attributes
5.4.2.
Import From Derivation
5.5.
Built-in Constants
5.6.
Built-in Functions
6.
Package Management
6.1.
Profiles
6.2.
Garbage Collection
6.2.1.
Garbage Collector Roots
7.
Advanced Topics
7.1.
Sharing Packages Between Machines
7.1.1.
Serving a Nix store via HTTP
7.1.2.
Copying Closures via SSH
7.1.3.
Serving a Nix store via SSH
7.1.4.
Serving a Nix store via S3
7.2.
Remote Builds
7.3.
Tuning Cores and Jobs
7.4.
Verifying Build Reproducibility
7.5.
Using the post-build-hook
8.
Command Reference
8.1.
Common Options
8.2.
Common Environment Variables
8.3.
Main Commands
8.3.1.
nix-build
8.3.2.
nix-shell
8.3.3.
nix-store
8.3.3.1.
nix-store --add-fixed
8.3.3.2.
nix-store --add
8.3.3.3.
nix-store --delete
8.3.3.4.
nix-store --dump-db
8.3.3.5.
nix-store --dump
8.3.3.6.
nix-store --export
8.3.3.7.
nix-store --gc
8.3.3.8.
nix-store --generate-binary-cache-key
8.3.3.9.
nix-store --import
8.3.3.10.
nix-store --load-db
8.3.3.11.
nix-store --optimise
8.3.3.12.
nix-store --print-env
8.3.3.13.
nix-store --query
8.3.3.14.
nix-store --read-log
8.3.3.15.
nix-store --realise
8.3.3.16.
nix-store --repair-path
8.3.3.17.
nix-store --restore
8.3.3.18.
nix-store --serve
8.3.3.19.
nix-store --verify-path
8.3.3.20.
nix-store --verify
8.3.4.
nix-env
8.3.4.1.
nix-env --delete-generations
8.3.4.2.
nix-env --install
8.3.4.3.
nix-env --list-generations
8.3.4.4.
nix-env --query
8.3.4.5.
nix-env --rollback
8.3.4.6.
nix-env --set-flag
8.3.4.7.
nix-env --set
8.3.4.8.
nix-env --switch-generation
8.3.4.9.
nix-env --switch-profile
8.3.4.10.
nix-env --uninstall
8.3.4.11.
nix-env --upgrade
8.4.
Utilities
8.4.1.
nix-channel
8.4.2.
nix-collect-garbage
8.4.3.
nix-copy-closure
8.4.4.
nix-daemon
8.4.5.
nix-hash
8.4.6.
nix-instantiate
8.4.7.
nix-prefetch-url
8.5.
Experimental Commands
8.5.1.
nix
8.5.2.
nix build
8.5.3.
nix bundle
8.5.4.
nix config
8.5.5.
nix config check
8.5.6.
nix config show
8.5.7.
nix copy
8.5.8.
nix daemon
8.5.9.
nix derivation
8.5.10.
nix derivation add
8.5.11.
nix derivation show
8.5.12.
nix develop
8.5.13.
nix edit
8.5.14.
nix eval
8.5.15.
nix flake
8.5.16.
nix flake archive
8.5.17.
nix flake check
8.5.18.
nix flake clone
8.5.19.
nix flake info
8.5.20.
nix flake init
8.5.21.
nix flake lock
8.5.22.
nix flake metadata
8.5.23.
nix flake new
8.5.24.
nix flake prefetch
8.5.25.
nix flake show
8.5.26.
nix flake update
8.5.27.
nix fmt
8.5.28.
nix hash
8.5.29.
nix hash convert
8.5.30.
nix hash file
8.5.31.
nix hash path
8.5.32.
nix hash to-base16
8.5.33.
nix hash to-base32
8.5.34.
nix hash to-base64
8.5.35.
nix hash to-sri
8.5.36.
nix help
8.5.37.
nix help-stores
8.5.38.
nix key
8.5.39.
nix key convert-secret-to-public
8.5.40.
nix key generate-secret
8.5.41.
nix log
8.5.42.
nix nar
8.5.43.
nix nar cat
8.5.44.
nix nar dump-path
8.5.45.
nix nar ls
8.5.46.
nix nar pack
8.5.47.
nix path-info
8.5.48.
nix print-dev-env
8.5.49.
nix profile
8.5.50.
nix profile diff-closures
8.5.51.
nix profile history
8.5.52.
nix profile install
8.5.53.
nix profile list
8.5.54.
nix profile remove
8.5.55.
nix profile rollback
8.5.56.
nix profile upgrade
8.5.57.
nix profile wipe-history
8.5.58.
nix realisation
8.5.59.
nix realisation info
8.5.60.
nix registry
8.5.61.
nix registry add
8.5.62.
nix registry list
8.5.63.
nix registry pin
8.5.64.
nix registry remove
8.5.65.
nix repl
8.5.66.
nix run
8.5.67.
nix search
8.5.68.
nix shell
8.5.69.
nix store
8.5.70.
nix store add
8.5.71.
nix store add-file
8.5.72.
nix store add-path
8.5.73.
nix store cat
8.5.74.
nix store copy-log
8.5.75.
nix store copy-sigs
8.5.76.
nix store delete
8.5.77.
nix store diff-closures
8.5.78.
nix store dump-path
8.5.79.
nix store gc
8.5.80.
nix store info
8.5.81.
nix store ls
8.5.82.
nix store make-content-addressed
8.5.83.
nix store optimise
8.5.84.
nix store path-from-hash-part
8.5.85.
nix store ping
8.5.86.
nix store prefetch-file
8.5.87.
nix store repair
8.5.88.
nix store sign
8.5.89.
nix store verify
8.5.90.
nix upgrade-nix
8.5.91.
nix why-depends
8.6.
Files
8.6.1.
nix.conf
8.6.2.
Profiles
8.6.2.1.
manifest.nix
8.6.2.2.
manifest.json
8.6.3.
Channels
8.6.4.
Default Nix expression
9.
Architecture and Design
10.
JSON Formats
10.1.
Store Object Info
10.2.
Derivation
11.
Protocols
11.1.
Serving Tarball Flakes
11.2.
Derivation "ATerm" file format
12.
Glossary
13.
Contributing
13.1.
Hacking
13.2.
Testing
13.3.
Documentation
13.4.
Experimental Features
13.5.
CLI guideline
13.6.
C++ style guide
14.
Release Notes
14.1.
Release 2.20 (2024-01-29)
14.2.
Release 2.19 (2023-11-17)
14.3.
Release 2.18 (2023-09-20)
14.4.
Release 2.17 (2023-07-24)
14.5.
Release 2.16 (2023-05-31)
14.6.
Release 2.15 (2023-04-11)
14.7.
Release 2.14 (2023-02-28)
14.8.
Release 2.13 (2023-01-17)
14.9.
Release 2.12 (2022-12-06)
14.10.
Release 2.11 (2022-08-25)
14.11.
Release 2.10 (2022-07-11)
14.12.
Release 2.9 (2022-05-30)
14.13.
Release 2.8 (2022-04-19)
14.14.
Release 2.7 (2022-03-07)
14.15.
Release 2.6 (2022-01-24)
14.16.
Release 2.5 (2021-12-13)
14.17.
Release 2.4 (2021-11-01)
14.18.
Release 2.3 (2019-09-04)
14.19.
Release 2.2 (2019-01-11)
14.20.
Release 2.1 (2018-09-02)
14.21.
Release 2.0 (2018-02-22)
14.22.
Release 1.11.10 (2017-06-12)
14.23.
Release 1.11 (2016-01-19)
14.24.
Release 1.10 (2015-09-03)
14.25.
Release 1.9 (2015-06-12)
14.26.
Release 1.8 (2014-12-14)
14.27.
Release 1.7 (2014-04-11)
14.28.
Release 1.6.1 (2013-10-28)
14.29.
Release 1.6 (2013-09-10)
14.30.
Release 1.5.2 (2013-05-13)
14.31.
Release 1.5 (2013-02-27)
14.32.
Release 1.4 (2013-02-26)
14.33.
Release 1.3 (2013-01-04)
14.34.
Release 1.2 (2012-12-06)
14.35.
Release 1.1 (2012-07-18)
14.36.
Release 1.0 (2012-05-11)
14.37.
Release 0.16 (2010-08-17)
14.38.
Release 0.15 (2010-03-17)
14.39.
Release 0.14 (2010-02-04)
14.40.
Release 0.13 (2009-11-05)
14.41.
Release 0.12 (2008-11-20)
14.42.
Release 0.11 (2007-12-31)
14.43.
Release 0.10.1 (2006-10-11)
14.44.
Release 0.10 (2006-10-06)
14.45.
Release 0.9.2 (2005-09-21)
14.46.
Release 0.9.1 (2005-09-20)
14.47.
Release 0.9 (2005-09-16)
14.48.
Release 0.8.1 (2005-04-13)
14.49.
Release 0.8 (2005-04-11)
14.50.
Release 0.7 (2005-01-12)
14.51.
Release 0.6 (2004-11-14)
14.52.
Release 0.5 and earlier
Light
Rust
Coal
Navy
Ayu
Nix Reference Manual
Serving a Nix store via S3