Welcome to the new unified Determinate docs experience!
TroubleshootingInstallation failed (macOS)

Recovering from a failed installation on macOS

Run the uninstaller

If /nix/nix-installer exists, run the built-in uninstaller:

sudo /nix/nix-installer uninstall

Typically, the Determinate Nix Installer’s uninstall phase is thorough and complete. In rare cases, further steps may be necessary.

Delete the “Nix Store” volume

Typically, the Determinate Nix Installer’s uninstall phase is thorough and complete. In rare cases, further steps may be necessary.

If the Nix Store volume exists, delete it.

  1. Open Disk Utility.
  2. Right-click Nix Store.
  3. Click Delete APFS Volume.

If the volume doesn’t exist, move on to the next step.

Delete secrets from Keychain

  1. Open “Keychain Access”
  2. Search for “Determinate”
  3. Delete the entry for “Determinate Nix Store encryption key” if it exists
  4. Delete the entry for “Determinate Nix” if it exists

If neither of these entries are in Keychain, move on to the next step.

Complete

Determinate should now be uninstalled. Try running the installer again:

curl --proto '=https' --tlsv1.2 -sSf -L \
  https://install.determinate.systems/nix | sh -s -- install --determinate