
nixpkgs
Nix Packages collection & NixOS
The Lens
The largest collection of software packages in any package manager, over 100,000 packages, more than Debian, AUR, or Homebrew. If you've ever struggled with "works on my machine" problems, dependency conflicts, or reproducible builds, Nix (the package manager) and nixpkgs (this package collection) solve that by making every package build in isolation with its exact dependencies. Every package is built in a sandbox with only its declared dependencies available. No global state, no dependency conflicts, no breaking one thing by updating another. You can have Python 3.8 and 3.12 installed simultaneously without them interfering. Roll back any change instantly. Define your entire system configuration as code.
Completely free under MIT. Community-maintained with major backing from Determinate Systems, Flox, and other companies building on the Nix ecosystem. Homebrew is the pragmatic alternative, less powerful but dramatically easier to use. Guix is the GNU alternative with a Scheme-based approach. If you just need reproducible dev environments, devenv or devbox abstract away Nix's complexity while using nixpkgs underneath.
The catch: the learning curve is brutal. Nix has its own functional programming language for package definitions. The documentation has historically been fragmented and confusing (it's improving). Error messages are often cryptic. You'll spend hours learning before you save hours building. The community is passionate but has had governance growing pains.
Free vs Self-Hosted vs Paid
fully free### Pricing Breakdown
**Free tier:** Everything. MIT licensed. 100,000+ packages, NixOS (the operating system), Nix (the package manager), and all tooling.
**Self-hosted:** Nix runs on macOS and Linux. nixpkgs is downloaded on demand; packages are fetched from the official binary cache (cache.nixos.org) or built locally.
**Binary cache hosting (if you build custom packages):** - Cachix: Free (5GB public), $50/mo (50GB private). Popular Nix binary cache hosting - Self-hosted cache: Free, just an S3 bucket (~$0.023/GB/mo) - FlakeHub: Free tier for package publishing
**Comparison to alternatives:** - Homebrew: Free. macOS/Linux. Much simpler, fewer packages, no reproducibility guarantees - apt/dpkg (Debian): Free. Linux only. Large package collection but no rollbacks, no isolation - Guix: Free (GPL). GNU's answer to Nix, Scheme instead of Nix language, smaller package collection - Devbox: Free. Nix-powered but with a simpler CLI, good entry point to the Nix ecosystem - Devenv: Free. Another Nix abstraction layer focused on development environments
**The real cost:** Nix is free but the learning investment is significant. Plan for 20-40 hours before you're productive. For organizations, that's $1,500-3,000 in developer time per person at $75/hr. The payoff is zero dependency conflicts and reproducible builds forever after. Whether that math works depends on how often you fight environment issues today.
Free forever. The investment is learning time (20-40 hours), not money.
License: MIT License
Use freely, including commercial. Just keep the license.
Commercial use: ✓ Yes
About
- Owner
- Nix/Nixpkgs/NixOS (Organization)
- Stars
- 24,168
- Forks
- 18,512
Explore Further
More tools in the directory
Get tools like this delivered weekly
The Open Source Drop — the best new open source tools, analyzed. Free.