7. Nix 제거(필요한 경우)
Guide 7 of 8
In this guide
→ 시스템에서 Nix를 깨끗하게 제거하기
Zero to Nix 빠른 시작 시작 부분에서는 Determinate Systems의 빠르고 안정적인 Determinate Nix Installer를 사용하여 Nix를 [설치]했습니다. 앞으로도 Nix를 계속 사용하시기를 바라지만, 어떤 이유로든 Nix를 제거해야 하는 경우 다음 명령을 사용하여 제거할 수 있습니다.
/nix/nix-installer uninstall안내에 따라 요청된 변경 사항을 승인하세요. 설치 프로그램에서 요청하는 변경 사항은 다음과 같습니다.
- Delete the directory tree under
/nix - Delete the Nix CLI tool
- Delete all Nix-specific users and groups
- Delete the Nix configuration file at
/etc/nix/nix.conf
Once the Determinate Nix Installer is done, you can verify that uninstallation has succeeded by confirming that directories like /nix and ~/.nix-profile have been removed from your system:
ls /nix # errorls ~/.nix-profile # error