Skip to content

Instantly share code, notes, and snippets.

@jbayer
Created August 3, 2026 22:09
Show Gist options
  • Select an option

  • Save jbayer/26b411c6d8b001f850427cf2b2a5fe20 to your computer and use it in GitHub Desktop.

Select an option

Save jbayer/26b411c6d8b001f850427cf2b2a5fe20 to your computer and use it in GitHub Desktop.
Flox environment package resolution of implicit vs explicit options.systems
:postgresql$ flox init && flox install postgresql && flox list
⚡︎ Created environment 'postgresql' (aarch64-darwin)
Next:
$ flox search <package> <- Search for a package
$ flox install <package> <- Install a package into an environment
$ flox activate <- Enter the environment
$ flox edit <- Add environment variables and shell hooks
$ flox push <- Use the environment from other machines or
share it with someone on FloxHub
✔ 'postgresql' installed to environment 'postgresql'
ℹ 'postgresql' has additional outputs, use 'flox list -a' to see more
postgresql: postgresql (17.10)
> Auto-activate the environment in '/private/tmp/postgresql'? No
ℹ Disabled auto-activation for the environment.
Run 'flox activate allow --dir <PATH>' to re-enable.
:postgresql$ flox edit
✔ Environment successfully updated.
:postgresql$ cat .flox/env/manifest.toml | grep systems
systems = ["aarch64-darwin"]
:postgresql$ flox upgrade && flox list
✔ Upgraded 1 version change in 'postgresql':
- postgresql: 17.10 -> 18.4
postgresql: postgresql (18.4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment