Use this file to discover all available pages before exploring further.
While we are sad we see you uninstalling flox we would like to thank you
for giving flox a try.As we try to improve flox we really appreciate any feedback, especially
where we failed. We like to know what was not working or where could we do
a better job. Please reach us via discourse or
via email.Here’s how to completely remove flox from your system.
MacOS (Pkg)
MacOS (Homebrew)
Debian
RPM
Nix (Generic)
WSL
The following commands will completely remove Nix and the contents of /nix/* from the system.
Be sure to back up the system and/or extract any important Nix-related
files and packages before continuing.
Ensure no running processes are using /nix.
Run:
sudo /usr/local/share/flox/scripts/uninstall
Regardless of the current state, brew can be used to perform a full clean up:
brew uninstall --force --zap flox
We recommend rebooting your system after uninstalling Flox.
The following commands will completely remove Nix and the contents of /nix/* from the system.
Be sure to back up the system and/or extract any important Nix-related
files and packages before continuing.
You may be asked if the terminal has permission to modify contents of the disk.
Run:
brew uninstall flox
To remove all traces of flox including user preferences uninstall with:
brew uninstall --zap flox
In the case of recovering a partial install, a force and zap can help:
brew uninstall --force --zap flox
We recommend rebooting your system after uninstalling Flox.
For use on Debian, Ubuntu, and other Debian-based distributions.
The following command will completely remove Nix and the contents of /nix/* from the system.
Be sure to back up the system and/or extract any important Nix-related
files and packages before continuing.
sudo apt-get purge flox
We recommend rebooting your system after uninstalling Flox.
For use on RedHat, CentOS, Amazon Linux, and other RPM-based
distributions.
The following command will completely remove Nix and the contents of /nix/* from the system.
Be sure to back up the system and/or extract any important Nix-related
files and packages before continuing.
sudo yum remove flox
We recommend rebooting your system after uninstalling Flox.
Output on success:
$ sudo yum remove floxUpdating Subscription Management repositories.Unable to read consumer identityThis system is not registered to Red Hat Subscription Management.You can use subscription-manager to register.Dependencies resolved.====================================================================== Package Architecture Version Repository Size======================================================================Removing: flox x86_64 1.4.3-1625910780 @@System 109 MTransaction Summary======================================================================Remove 1 PackageFreed space: 109 MIs this ok [y/N]: yRunning transaction checkTransaction check succeeded.Running transaction testTransaction test succeeded.Running transaction Preparing : 1/1 Running scriptlet: flox-1.4.3-1625910780.x86_64 1/1floxadm uninstall complete Erasing : flox-1.4.3-1625910780.x86_64 1/1 Running scriptlet: flox-1.4.3-1625910780.x86_64 1/1 Verifying : flox-1.4.3-1625910780.x86_64 1/1Installed products updated.Removed: flox-1.4.3-1625910780.x86_64Complete!
If you’ve installed flox to the system-wide default profile
Or, if you’ve declared Flox using a flake, remove the Flake
Please follow the instructions provided on either the Debian or RPM tab
(whichever matches the existing Linux Distribution installed with your
WSL) to uninstall Flox.