LinuxCommandLibrary

flox

reproducible development environments built on Nix

TLDR

Initialize environment

$ flox init
copy
Install package
$ flox install [ripgrep]
copy
Activate environment
$ flox activate
copy
Search for packages
$ flox search [nodejs]
copy
List installed packages
$ flox list
copy

SYNOPSIS

flox command [options] [arguments]

DESCRIPTION

flox is a virtual environment manager built on Nix. It creates reproducible development environments with declarative package management, shareable across machines and teams.
Environments are defined in a manifest file and can be pushed to FloxHub for sharing. Unlike traditional virtual environments, flox handles any language or tool from the Nix package collection.
flox simplifies Nix's complexity while preserving its reproducibility guarantees.

PARAMETERS

COMMAND

Operation: init, install, activate, search, list, etc.
init
Initialize new environment.
install PACKAGES
Install packages.
activate
Enter environment shell.
search QUERY
Search for packages.
list
Show installed packages.
uninstall PACKAGES
Remove packages.
push
Publish environment.
--help
Display help information.

CAVEATS

Requires Nix installation. Large initial downloads for Nix store. Some packages may not be available.

HISTORY

flox was created to make Nix accessible to mainstream developers. It provides familiar virtual environment workflows backed by Nix's reproducible package management.

SEE ALSO

nix(1), direnv(1), devbox(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community