Nix Installation Guide: Difference between revisions
imported>Jorsn update proot section: current static builds and "no such file or directory" errors |
imported>Mickours Add source command to make nix available |
||
Line 9: | Line 9: | ||
$ curl https://nixos.org/nix/install | sh | $ curl https://nixos.org/nix/install | sh | ||
</syntaxHighlight> | </syntaxHighlight> | ||
Then don't forget to run the command provided at the end of the installation script to make nix available in your system: | |||
<syntaxHighlight lang="console"> | |||
source $HOME/.nix-profile/etc/profile.d/nix.sh | |||
</syntaxHighlight> | |||
You may want to put this file directly in your ~/.bashrc or similar, so Nix would be available in any newly created shell. | |||
After that being done, you can use all Nix commands as a normal user without any special permissions (for example by using <code>sudo</code>). | After that being done, you can use all Nix commands as a normal user without any special permissions (for example by using <code>sudo</code>). |