Nix (package manager): Difference between revisions
imported>Mic92 No edit summary |
imported>Mic92 |
||
Line 10: | Line 10: | ||
To install nix from any Linux distribution, use the following two commands (assumes you have right to use sudo and you are logged in as the user you want to install nix for). | To install nix from any Linux distribution, use the following two commands (assumes you have right to use sudo and you are logged in as the user you want to install nix for). | ||
<syntaxHighlight lang=" | <syntaxHighlight lang="bash"> | ||
sudo install -d -m755 -o $USER -g $USER /nix | sudo install -d -m755 -o $USER -g $USER /nix | ||
curl https://nixos.org/nix/install | sh | curl https://nixos.org/nix/install | sh |