How to uninstall Nix
NOTE: This answer is about uninstalling Nix from a Linux or Linux-like system in 2018. Since then, Nix has started to support systemd unit installations and since Catalina, macOS installations have become more complex too. This answer is not official documentation.
The "curl | sh
" installer for Nix on Linux does not install the Nix daemon, so the only things to delete are /nix
, the line in ~/.profile
and ~/.nix-profile
.