Last week, we released FlakeHub, a new platform for publishing, discovering, and using Nix flakes.
We’ve been extremely pleased with the initial response: as of this post, more than 60 organizations have published a total of over 110 flakes to FlakeHub, and many Nix users have already incorporated the platform into their day-to-day workflows.
Although we’re happy with the web UI for FlakeHub, we know that many workflows will require more programmatic access to the platform.
And so today we’re announcing the initial release of fh, the CLI for FlakeHub.
To give an analogy, fh serves the same role for FlakeHub that the gh CLI serves for GitHub.
fh is a modest tool but it brings real improvements to the experience around Nix flakes.
It gives you quick access to the steadily expanding constellation of flakes on FlakeHub, including search, and to programmatically add flakes to your projects.
In the near term, we have plans to support interactively creating new flake.nix files and to expand fh’s ability to modify existing flakes.
So keep up to date with the fh flake for future improvements.
Luc is a technical writer, software engineer, and Nix advocate who's always on the lookout for qualitatively better ways of building software.
He originally hails from the Pacific Northwest but has recently taken to living abroad.