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 Lix from Source
      ❱
      1. 3.3.1. Prerequisites
      2. 3.3.2. Obtaining a Source Distribution
      3. 3.3.3. Building Lix from Source
    4. 3.4. Using Lix 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 Lix
    8. 3.8. Uninstalling Lix
  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. Sharing Packages Between Machines
      ❱
      1. 4.4.1. Serving a Nix store via HTTP
      2. 4.4.2. Copying Closures via SSH
      3. 4.4.3. Serving a Nix store via SSH
      4. 4.4.4. Serving a Nix store via S3
  5. 5. Nix Language
    ❱
    1. 5.1. Data Types
    2. 5.2. Language Constructs
      ❱
      1. 5.2.1. String interpolation
    3. 5.3. Operators
    4. 5.4. Derivations
      ❱
      1. 5.4.1. Advanced Attributes
    5. 5.5. Built-in Constants
    6. 5.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-build
      2. 7.3.2. nix-shell
      3. 7.3.3. nix-store
        ❱
        1. 7.3.3.1. nix-store --add-fixed
        2. 7.3.3.2. nix-store --add
        3. 7.3.3.3. nix-store --delete
        4. 7.3.3.4. nix-store --dump-db
        5. 7.3.3.5. nix-store --dump
        6. 7.3.3.6. nix-store --export
        7. 7.3.3.7. nix-store --gc
        8. 7.3.3.8. nix-store --generate-binary-cache-key
        9. 7.3.3.9. nix-store --import
        10. 7.3.3.10. nix-store --load-db
        11. 7.3.3.11. nix-store --optimise
        12. 7.3.3.12. nix-store --print-env
        13. 7.3.3.13. nix-store --query
        14. 7.3.3.14. nix-store --read-log
        15. 7.3.3.15. nix-store --realise
        16. 7.3.3.16. nix-store --repair-path
        17. 7.3.3.17. nix-store --restore
        18. 7.3.3.18. nix-store --serve
        19. 7.3.3.19. nix-store --verify-path
        20. 7.3.3.20. nix-store --verify
      4. 7.3.4. nix-env
        ❱
        1. 7.3.4.1. nix-env --delete-generations
        2. 7.3.4.2. nix-env --install
        3. 7.3.4.3. nix-env --list-generations
        4. 7.3.4.4. nix-env --query
        5. 7.3.4.5. nix-env --rollback
        6. 7.3.4.6. nix-env --set-flag
        7. 7.3.4.7. nix-env --set
        8. 7.3.4.8. nix-env --switch-generation
        9. 7.3.4.9. nix-env --switch-profile
        10. 7.3.4.10. nix-env --uninstall
        11. 7.3.4.11. nix-env --upgrade
    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 config
      5. 7.5.5. nix config show
      6. 7.5.6. nix copy
      7. 7.5.7. nix daemon
      8. 7.5.8. nix derivation
      9. 7.5.9. nix derivation add
      10. 7.5.10. nix derivation show
      11. 7.5.11. nix develop
      12. 7.5.12. nix doctor
      13. 7.5.13. nix edit
      14. 7.5.14. nix eval
      15. 7.5.15. nix flake
      16. 7.5.16. nix flake archive
      17. 7.5.17. nix flake check
      18. 7.5.18. nix flake clone
      19. 7.5.19. nix flake info
      20. 7.5.20. nix flake init
      21. 7.5.21. nix flake lock
      22. 7.5.22. nix flake metadata
      23. 7.5.23. nix flake new
      24. 7.5.24. nix flake prefetch
      25. 7.5.25. nix flake show
      26. 7.5.26. nix flake update
      27. 7.5.27. nix fmt
      28. 7.5.28. nix hash
      29. 7.5.29. nix hash file
      30. 7.5.30. nix hash path
      31. 7.5.31. nix hash to-base16
      32. 7.5.32. nix hash to-base32
      33. 7.5.33. nix hash to-base64
      34. 7.5.34. nix hash to-sri
      35. 7.5.35. nix help
      36. 7.5.36. nix help-stores
      37. 7.5.37. nix key
      38. 7.5.38. nix key convert-secret-to-public
      39. 7.5.39. nix key generate-secret
      40. 7.5.40. nix log
      41. 7.5.41. nix nar
      42. 7.5.42. nix nar cat
      43. 7.5.43. nix nar dump-path
      44. 7.5.44. nix nar ls
      45. 7.5.45. nix path-info
      46. 7.5.46. nix print-dev-env
      47. 7.5.47. nix profile
      48. 7.5.48. nix profile diff-closures
      49. 7.5.49. nix profile history
      50. 7.5.50. nix profile install
      51. 7.5.51. nix profile list
      52. 7.5.52. nix profile remove
      53. 7.5.53. nix profile rollback
      54. 7.5.54. nix profile upgrade
      55. 7.5.55. nix profile wipe-history
      56. 7.5.56. nix realisation
      57. 7.5.57. nix realisation info
      58. 7.5.58. nix registry
      59. 7.5.59. nix registry add
      60. 7.5.60. nix registry list
      61. 7.5.61. nix registry pin
      62. 7.5.62. nix registry remove
      63. 7.5.63. nix repl
      64. 7.5.64. nix run
      65. 7.5.65. nix search
      66. 7.5.66. nix shell
      67. 7.5.67. nix store
      68. 7.5.68. nix store add-file
      69. 7.5.69. nix store add-path
      70. 7.5.70. nix store cat
      71. 7.5.71. nix store copy-log
      72. 7.5.72. nix store copy-sigs
      73. 7.5.73. nix store delete
      74. 7.5.74. nix store diff-closures
      75. 7.5.75. nix store dump-path
      76. 7.5.76. nix store gc
      77. 7.5.77. nix store ls
      78. 7.5.78. nix store make-content-addressed
      79. 7.5.79. nix store optimise
      80. 7.5.80. nix store path-from-hash-part
      81. 7.5.81. nix store ping
      82. 7.5.82. nix store prefetch-file
      83. 7.5.83. nix store repair
      84. 7.5.84. nix store sign
      85. 7.5.85. nix store verify
      86. 7.5.86. nix upgrade-nix
      87. 7.5.87. nix why-depends
    6. 7.6. Files
      ❱
      1. 7.6.1. nix.conf
      2. 7.6.2. Profiles
        ❱
        1. 7.6.2.1. manifest.nix
        2. 7.6.2.2. manifest.json
      3. 7.6.3. Channels
      4. 7.6.4. Default Nix expression
  8. 8. Architecture and Design
    ❱
    1. 8.1. File System Object
  9. 9. Protocols
    ❱
    1. 9.1. Serving Tarball Flakes
    2. 9.2. Derivation "ATerm" file format
  10. 10. Glossary
  11. 11. Contributing
    ❱
    1. 11.1. Hacking
    2. 11.2. Testing
    3. 11.3. Experimental Features
    4. 11.4. Deprecated Features
    5. 11.5. CLI guideline
    6. 11.6. C++ style guide
  12. 12. Release Notes
    ❱
    1. 12.1. Upcoming release
    2. 12.2. Lix 2.92 (2025-01-18)
    3. 12.3. Lix 2.91 (2024-08-12)
    4. 12.4. Lix 2.90 (2024-07-10)
    5. 12.5. Nix 2.18 (2023-09-20)
    6. 12.6. Nix 2.17 (2023-07-24)
    7. 12.7. Nix 2.16 (2023-05-31)
    8. 12.8. Nix 2.15 (2023-04-11)
    9. 12.9. Nix 2.14 (2023-02-28)
    10. 12.10. Nix 2.13 (2023-01-17)
    11. 12.11. Nix 2.12 (2022-12-06)
    12. 12.12. Nix 2.11 (2022-08-25)
    13. 12.13. Nix 2.10 (2022-07-11)
    14. 12.14. Nix 2.9 (2022-05-30)
    15. 12.15. Nix 2.8 (2022-04-19)
    16. 12.16. Nix 2.7 (2022-03-07)
    17. 12.17. Nix 2.6 (2022-01-24)
    18. 12.18. Nix 2.5 (2021-12-13)
    19. 12.19. Nix 2.4 (2021-11-01)
    20. 12.20. Nix 2.3 (2019-09-04)
    21. 12.21. Nix 2.2 (2019-01-11)
    22. 12.22. Nix 2.1 (2018-09-02)
    23. 12.23. Nix 2.0 (2018-02-22)
    24. 12.24. Nix 1.11.10 (2017-06-12)
    25. 12.25. Nix 1.11 (2016-01-19)
    26. 12.26. Nix 1.10 (2015-09-03)
    27. 12.27. Nix 1.9 (2015-06-12)
    28. 12.28. Nix 1.8 (2014-12-14)
    29. 12.29. Nix 1.7 (2014-04-11)
    30. 12.30. Nix 1.6.1 (2013-10-28)
    31. 12.31. Nix 1.6 (2013-09-10)
    32. 12.32. Nix 1.5.2 (2013-05-13)
    33. 12.33. Nix 1.5 (2013-02-27)
    34. 12.34. Nix 1.4 (2013-02-26)
    35. 12.35. Nix 1.3 (2013-01-04)
    36. 12.36. Nix 1.2 (2012-12-06)
    37. 12.37. Nix 1.1 (2012-07-18)
    38. 12.38. Nix 1.0 (2012-05-11)
    39. 12.39. Nix 0.16 (2010-08-17)
    40. 12.40. Nix 0.15 (2010-03-17)
    41. 12.41. Nix 0.14 (2010-02-04)
    42. 12.42. Nix 0.13 (2009-11-05)
    43. 12.43. Nix 0.12 (2008-11-20)
    44. 12.44. Nix 0.11 (2007-12-31)
    45. 12.45. Nix 0.10.1 (2006-10-11)
    46. 12.46. Nix 0.10 (2006-10-06)
    47. 12.47. Nix 0.9.2 (2005-09-21)
    48. 12.48. Nix 0.9.1 (2005-09-20)
    49. 12.49. Nix 0.9 (2005-09-16)
    50. 12.50. Nix 0.8.1 (2005-04-13)
    51. 12.51. Nix 0.8 (2005-04-11)
    52. 12.52. Nix 0.7 (2005-01-12)
    53. 12.53. Nix 0.6 (2004-11-14)
    54. 12.54. Nix 0.5 and earlier

Lix Reference Manual

Contributing