I installed Nix package manager, and now I would like to remove it completely.
How can I do it?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
I asked myself the same question and searched the file system for Nix-related files. That's what I found:
# as user, remove: rm -r ~/.nix-channels ~/.nix-defexpr ~/.nix-profile # as root (sudo), remove: sudo rm -r /nix # edit the file ~/.profile and remove the line containing "added by Nix installer"
Not sure if I missed some files or directories. Also, I did not remove it myself, so be careful (and backup your data!) when removing stuff with sudo.