Nix Installation Guide: Difference between revisions
imported>Mickours m Use GID instead of USER because this group may not exists |
imported>Colemickens m modify instruction to work out of box in 18.10 |
||
| Line 6: | Line 6: | ||
<syntaxHighlight lang="console"> | <syntaxHighlight lang="console"> | ||
$ sudo install -d -m755 -o $ | $ sudo install -d -m755 -o $(id -u) -g $(id -g) /nix | ||
$ curl https://nixos.org/nix/install | sh | $ curl https://nixos.org/nix/install | sh | ||
</syntaxHighlight> | </syntaxHighlight> | ||