Discourse | Documentation | Blog | Twitter
Flox is a virtual environment and package manager all in one. With Flox you create environments that layer and replace dependencies just where it matters, making them portable across the full software lifecycle.
Install packages from the biggest open source repository (nixpkgs) that contains more that 80.000 packages.
With flox
you can:
→ Create environments
→ Share your environments with others
→ Build container images
→ ... and much more
$ flox init # <- Create an environment in current directory ✨.
$ flox search hello # <- Search for a package 🚀.
$ flox install hello # <- Install packages into current directory's environment 🔨.
$ flox activate # <- Enter the current directory's environment 🎆.
flox [my-project] $ hello # <- Have fun 🎉.
Hello world!
flox [my-project] $ exit # <- Exit environment 💃.
We all build software on top of a dynamic set of tools, frameworks and packages, allowing us to move quickly and only build what’s necessary. However, each new wave of dev tooling innovation results in an entirely new set of dependencies that need to be managed. What starts as a simple app or microservice quickly grows complex, and turns into a expanding and fragmented supply chain. Flox brings reproducibility and consistency to complex software development lifecycles.
Flox began its life during the deployment of Nix at the D. E. Shaw group, where it quickly proved invaluable by making Nix easier for newcomers and offering centralized control over packages. As a result, their successful project became one of the largest, most impactful enterprise deployments of Nix.
We are happy to welcome you to our Discourse forum and answer your questions! You can always reach out to us directly via the Flox twitter account or chat to us directly on Slack or Discord.
Feel free to file a new issue with a respective title and
description on the the flox/flox
repository. If you already found a solution
to your problem, we would love to review your pull request!
We welcome contributions to this project. Please read the Contributor guide first.
The Flox CLI is licensed under the GPLv2. See LICENSE.