Which Flox commands need a free account, what stays open, and how to keep CI running.
Starting Tuesday, October 20, 2026, Flox CLI commands that resolve packages will require authentication with a free Flox account. The change arrives with Flox CLI 1.19.0 and applies to older versions too.
What’s changing
Several Flox commands have always run through Flox cloud services for search, indexing, package resolution, and environment operations. Beginning October 20, every command that resolves packages against the Flox catalog will require authentication. A command resolves packages when:
flox installadds a package from the catalog.- You run
flox upgrade, includingflox upgrade --dry-run. - You run
flox run. - A command has to lock the environment because
manifest.lockis missing, or because you added or changed a catalog package or a system. This coversflox activate,flox edit,flox list,flox uninstall,flox services,flox build,flox develop,flox containerizeandflox include upgrade.
Changing [vars], [hook], [profile] or [services] locks the environment
without contacting the catalog, so it needs no sign-in. Installing a flake
reference or a Nix store path doesn’t use the catalog either.
flox init creates an environment without a sign-in. In a
project where Flox detects Node.js, Python or Go, its package suggestions need
one.
Do I need to do anything?
Probably not, and if you do it’s one command. Find the row closest to how you use Flox.
What stays the same
flox activate does not require authentication for an
environment that already has a current lockfile. If your daily workflow or CI pipeline
simply activates an existing environment that relies on public packages, nothing
changes for you.
flox search and flox show stay open
too, so browsing the catalog needs no account. So does pulling a public
environment with flox pull, and so does
flox build when the environment’s lockfile is current.
Private packages and environments continue to require authentication as they
do today, and so does publishing. Nothing about those
changes.
Who on your team needs an account
After the change, people who change packages need an account: anyone who adds
or upgrades catalog packages, changes a catalog package’s version, package
path or package group, adds a system, locks an environment that has no
manifest.lock, or runs flox run. People who push environments or publish
packages need an account today.
People who only activate an environment with a committed, current
manifest.lock don’t need an account, unless the environment uses custom
catalog packages that aren’t on the machine yet, or is a private FloxHub
environment.
When they activate a FloxHub environment, it fetches its latest state from
FloxHub on first use and during the background upgrade check, whether or not
they’re signed in. A private FloxHub environment needs sign-in.
The background upgrade check that each flox activate starts sends the
environment’s package list to the catalog from time to time, and only when
you’re signed in.
Without an account, Flox still receives telemetry with a device ID unless you
turn telemetry off, and FloxHub logs each request with your IP address. See
What Flox collects.
Why we’re doing this
Flox has grown from an open source CLI into foundational infrastructure used
across developer machines, CI, build systems, and increasingly AI agents. As
usage has grown exponentially, so has our responsibility to operate the cloud
services behind Flox reliably and to keep improving them based on how they’re
actually being used.
Requiring authentication for the commands that interact with those services
gives us a better foundation for understanding those workflows, operating the
service reliably, and investing in the parts of Flox people depend on most. It
also gives us better standards around abuse prevention.
When you’re signed in, Flox records your FloxHub account ID with your
CLI telemetry. See
What Flox collects.
We’re intentionally keeping flox activate available without an account for
public environments. If you’re consuming an environment someone else
maintains, you do not need to create an account just to use it.
To be clear: this is not a paywall. The free tier keeps the same capabilities
it has today. You’ll need a free account for the commands above, not a paid
subscription.
Signing in
FloxHub has made it easy to login. How you sign in depends on where you’re running Flox.
On your machine
No browser
Run flox auth login and follow the browser prompt. You
can log in with an existing GitHub, Google, or GitLab account. If you don’t
have an account, the same flow creates one.
You do this once per machine. Paid customers can also authenticate with their own SSO provider — see Enterprise SSO.
Over SSH, inside a container, or anywhere a browser can’t open, use a token instead. A personal access token signs the CLI in as you. A service account token signs it in as your organization. The CLI reads either one from the same variable.
You can also sign in on the web at hub.flox.dev.
CI and automation
Automation breaks quietly, so it’s worth handling before anything else. Two ways through:
- Commit your lockfile. A pipeline that activates an existing environment
against a committed, current
manifest.lockneeds no token. Without a token, it resolves no packages. You get reproducible builds and one less network dependency out of it, which is worth doing anyway. - Or give the pipeline a token. Pipelines that run
flox install,flox upgrade, or any of the other commands above do reach the catalog. So doesflox buildwhen the lockfile it’s building against is out of date. Issue a token in FloxHub and set it asFLOX_FLOXHUB_TOKENfrom your CI platform’s secret store. The pipeline or agent then runs Flox commands without user interaction.
A personal access token works on any account, including a free personal one, and acts as you. A service account token belongs to an organization instead, so the pipeline keeps running after someone changes teams or leaves. The CLI reads both from the same variable. The CI/CD tutorial covers setup on specific platforms.
GitHub Actions
On GitHub Actions, pass the token to
flox/install-flox-action as
floxhub-token. The action logs Flox in before it runs any other Flox command,
and logs out when the job ends.
The floxhub-token input needs install-flox-action v2.7.0 or newer. The
@v2 tag already includes it. If you pin an exact version or a commit, move
the pin forward.
Older Flox versions
The Flox catalog enforces the requirement, so from October 20 it applies to every Flox version, not only 1.19.0. Staying on an older release doesn’t postpone it. What you need depends on the version you run: