Skip to main content
Verify your downloadYou can find the SHA256 checksums and SHA512 checksums for Flox 1.14.0 online.

Install with one command

The install script detects your OS and CPU architecture and installs Flox with the best method available on your machine. It supports MacOS and Debian- and Red Hat-based Linux distributions, on x86_64 and aarch64.
The script picks the install method that matches your platform:
  • On MacOS, it downloads and runs the .pkg installer.
  • On Debian- and Ubuntu-family systems, it installs the .deb package with apt.
  • On Fedora- and RHEL-family systems, it installs the .rpm package with dnf or yum.
If Flox is already installed, the script makes no changes and instead prints the upgrade command for your package manager.
Privileged commands are shown before they runBefore using sudo, the script prints the exact commands it is about to run with elevated privileges, so you know what you are agreeing to. You may be prompted for your sudo password.
Here is what an install looks like on Ubuntu:
If Nix is already installed on your systemThe script does not install Flox through Nix, and it will not modify your existing Nix installation. When it detects Nix (the nix command or a populated /nix/store), it stops and points you to the Nix tab, which covers installing Flox with an existing Nix.
Unsupported systemsThe script refuses to run on systems where the native packages are untested: immutable (ostree-based) distributions such as Fedora Silverblue or CoreOS, openSUSE/SLES, and RPM-family systems without dnf or yum. On those systems, install Nix first and then follow the Nix tab instructions.

Pin a channel or version

The script honors two environment variables:
FLOX_CHANNEL (default stable) selects the release channel. FLOX_VERSION pins an exact version instead of the channel’s latest.

Verify Flox installation

If the following command returns without error then you’re ready to get started!
The version you see might be different.

Upgrade existing Flox installation

The script does not upgrade an existing installation. Re-running it on a system that already has Flox prints the upgrade command for your package manager, for example: