This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!
Nix¶
Nix is a purely functional package manager that aims to make package management reliable and reproducible.
Tip
Although this cheat sheet is categorized as "NixOS-based", the Nix package manager can be installed on any distribution.
Reference(s)
Table of contents¶
Install¶
Reference(s)
Prerequisite(s)
- "Multi-user" installation (recommended):
Config¶
-
Switch to a previous Nix version (e.g.
Then in a new terminal (or after2.4
):$ hash -r
in a Bash shell, or$ rehash
in a Zsh shell): -
TODO: Switch to NixOS Nix version:
Use¶
-
Get help:
-
Search a Nix package:
or -
Show a package description:
WIP
If this cheat sheet has been useful to you, then please consider leaving a star here.