1. 1. Introduction
  2. 2. Quick Start
  3. 3. Installation
    1. 3.1. Supported Platforms
    2. 3.2. Installing a Binary Distribution
    3. 3.3. Installing Nix from Source
      1. 3.3.1. Prerequisites
      2. 3.3.2. Obtaining a Source Distribution
      3. 3.3.3. Building Nix from Source
    4. 3.4. Using Nix within Docker
    5. 3.5. Security
      1. 3.5.1. Single-User Mode
      2. 3.5.2. Multi-User Mode
    6. 3.6. Environment Variables
    7. 3.7. Upgrading Nix
  4. 4. Package Management
    1. 4.1. Basic Package Management
    2. 4.2. Profiles
    3. 4.3. Garbage Collection
      1. 4.3.1. Garbage Collector Roots
    4. 4.4. Channels
    5. 4.5. Sharing Packages Between Machines
      1. 4.5.1. Serving a Nix store via HTTP
      2. 4.5.2. Copying Closures via SSH
      3. 4.5.3. Serving a Nix store via SSH
      4. 4.5.4. Serving a Nix store via S3
  5. 5. Writing Nix Expressions
    1. 5.1. A Simple Nix Expression
      1. 5.1.1. Expression Syntax
      2. 5.1.2. Build Script
      3. 5.1.3. Arguments and Variables
      4. 5.1.4. Building and Testing
      5. 5.1.5. Generic Builder Syntax
    2. 5.2. Writing Nix Expressions
      1. 5.2.1. Values
      2. 5.2.2. Language Constructs
      3. 5.2.3. Operators
      4. 5.2.4. Derivations
        1. 5.2.4.1. Advanced Attributes
      5. 5.2.5. Built-in Constants
      6. 5.2.6. Built-in Functions
  6. 6. Advanced Topics
    1. 6.1. Remote Builds
    2. 6.2. Tuning Cores and Jobs
    3. 6.3. Verifying Build Reproducibility
    4. 6.4. Using the post-build-hook
  7. 7. Command Reference
    1. 7.1. Common Options
    2. 7.2. Common Environment Variables
    3. 7.3. Main Commands
      1. 7.3.1. nix-env
      2. 7.3.2. nix-build
      3. 7.3.3. nix-shell
      4. 7.3.4. nix-store
    4. 7.4. Utilities
      1. 7.4.1. nix-channel
      2. 7.4.2. nix-collect-garbage
      3. 7.4.3. nix-copy-closure
      4. 7.4.4. nix-daemon
      5. 7.4.5. nix-hash
      6. 7.4.6. nix-instantiate
      7. 7.4.7. nix-prefetch-url
    5. 7.5. Experimental Commands
      1. 7.5.1. nix
      2. 7.5.2. nix build
      3. 7.5.3. nix bundle
      4. 7.5.4. nix copy
      5. 7.5.5. nix daemon
      6. 7.5.6. nix describe-stores
      7. 7.5.7. nix develop
      8. 7.5.8. nix doctor
      9. 7.5.9. nix edit
      10. 7.5.10. nix eval
      11. 7.5.11. nix flake
      12. 7.5.12. nix flake archive
      13. 7.5.13. nix flake check
      14. 7.5.14. nix flake clone
      15. 7.5.15. nix flake info
      16. 7.5.16. nix flake init
      17. 7.5.17. nix flake lock
      18. 7.5.18. nix flake metadata
      19. 7.5.19. nix flake new
      20. 7.5.20. nix flake prefetch
      21. 7.5.21. nix flake show
      22. 7.5.22. nix flake update
      23. 7.5.23. nix hash
      24. 7.5.24. nix hash file
      25. 7.5.25. nix hash path
      26. 7.5.26. nix hash to-base16
      27. 7.5.27. nix hash to-base32
      28. 7.5.28. nix hash to-base64
      29. 7.5.29. nix hash to-sri
      30. 7.5.30. nix help
      31. 7.5.31. nix key
      32. 7.5.32. nix key convert-secret-to-public
      33. 7.5.33. nix key generate-secret
      34. 7.5.34. nix log
      35. 7.5.35. nix nar
      36. 7.5.36. nix nar cat
      37. 7.5.37. nix nar dump-path
      38. 7.5.38. nix nar ls
      39. 7.5.39. nix path-info
      40. 7.5.40. nix print-dev-env
      41. 7.5.41. nix profile
      42. 7.5.42. nix profile diff-closures
      43. 7.5.43. nix profile history
      44. 7.5.44. nix profile install
      45. 7.5.45. nix profile list
      46. 7.5.46. nix profile remove
      47. 7.5.47. nix profile rollback
      48. 7.5.48. nix profile upgrade
      49. 7.5.49. nix profile wipe-history
      50. 7.5.50. nix realisation
      51. 7.5.51. nix realisation info
      52. 7.5.52. nix registry
      53. 7.5.53. nix registry add
      54. 7.5.54. nix registry list
      55. 7.5.55. nix registry pin
      56. 7.5.56. nix registry remove
      57. 7.5.57. nix repl
      58. 7.5.58. nix run
      59. 7.5.59. nix search
      60. 7.5.60. nix shell
      61. 7.5.61. nix show-config
      62. 7.5.62. nix show-derivation
      63. 7.5.63. nix store
      64. 7.5.64. nix store add-file
      65. 7.5.65. nix store add-path
      66. 7.5.66. nix store cat
      67. 7.5.67. nix store copy-log
      68. 7.5.68. nix store copy-sigs
      69. 7.5.69. nix store delete
      70. 7.5.70. nix store diff-closures
      71. 7.5.71. nix store dump-path
      72. 7.5.72. nix store gc
      73. 7.5.73. nix store ls
      74. 7.5.74. nix store make-content-addressable
      75. 7.5.75. nix store optimise
      76. 7.5.76. nix store ping
      77. 7.5.77. nix store prefetch-file
      78. 7.5.78. nix store repair
      79. 7.5.79. nix store sign
      80. 7.5.80. nix store verify
      81. 7.5.81. nix upgrade-nix
      82. 7.5.82. nix why-depends
    6. 7.6. Files
      1. 7.6.1. nix.conf
  8. 8. Glossary
  9. 9. Contributing
    1. 9.1. Hacking
    2. 9.2. CLI guideline
  10. 10. Release Notes
    1. 10.1. Release 2.7 (2022-03-07)
    2. 10.2. Release 2.6 (2022-01-24)
    3. 10.3. Release 2.5 (2021-12-13)
    4. 10.4. Release 2.4 (2021-11-01)
    5. 10.5. Release 2.3 (2019-09-04)
    6. 10.6. Release 2.2 (2019-01-11)
    7. 10.7. Release 2.1 (2018-09-02)
    8. 10.8. Release 2.0 (2018-02-22)
    9. 10.9. Release 1.11.10 (2017-06-12)
    10. 10.10. Release 1.11 (2016-01-19)
    11. 10.11. Release 1.10 (2015-09-03)
    12. 10.12. Release 1.9 (2015-06-12)
    13. 10.13. Release 1.8 (2014-12-14)
    14. 10.14. Release 1.7 (2014-04-11)
    15. 10.15. Release 1.6.1 (2013-10-28)
    16. 10.16. Release 1.6 (2013-09-10)
    17. 10.17. Release 1.5.2 (2013-05-13)
    18. 10.18. Release 1.5 (2013-02-27)
    19. 10.19. Release 1.4 (2013-02-26)
    20. 10.20. Release 1.3 (2013-01-04)
    21. 10.21. Release 1.2 (2012-12-06)
    22. 10.22. Release 1.1 (2012-07-18)
    23. 10.23. Release 1.0 (2012-05-11)
    24. 10.24. Release 0.16 (2010-08-17)
    25. 10.25. Release 0.15 (2010-03-17)
    26. 10.26. Release 0.14 (2010-02-04)
    27. 10.27. Release 0.13 (2009-11-05)
    28. 10.28. Release 0.12 (2008-11-20)
    29. 10.29. Release 0.11 (2007-12-31)
    30. 10.30. Release 0.10.1 (2006-10-11)
    31. 10.31. Release 0.10 (2006-10-06)
    32. 10.32. Release 0.9.2 (2005-09-21)
    33. 10.33. Release 0.9.1 (2005-09-20)
    34. 10.34. Release 0.9 (2005-09-16)
    35. 10.35. Release 0.8.1 (2005-04-13)
    36. 10.36. Release 0.8 (2005-04-11)
    37. 10.37. Release 0.7 (2005-01-12)
    38. 10.38. Release 0.6 (2004-11-14)
    39. 10.39. Release 0.5 and earlier

Nix Release Notes