Gentoo Portage vs Nix
Gentoo Portage
wiki.gentoo.orgNix
nixos.orgSide by side
| Figure | Gentoo Portage | Nix |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | Yes | Yes |
| Self-hosted | — | Yes |
| Plans published | 0 | 1 |
| Spec score · App Installation | 7.5 (#12) | 8.4 (#5) |
| Spec score · Package Managers | 7.3 (#80) | 8.6 (#16) |
| Dependency resolution | Yes | Yes |
| Free plan | Yes | Yes |
| Intended users | The wiki describes Portage as the package manager at the heart of Gentoo-based operating systems. | The documentation identifies developers, test engineers, DevOps engineers, system administrators, data scientists, students, and open source enthusiasts as likely users. |
| Offline installation | Yes | Yes |
| Package formats | ebuild,binary packages | Nix expressions,derivations,flakes |
| Purpose | Portage is Gentoo’s official package manager and distribution system, providing dependency resolution and software installation. | Nix is a tool for package management and system configuration that supports reproducible, declarative, and reliable systems. |
| Security | The glsa-check utility can test whether a system is affected by known Gentoo Linux Security Announcements. | The NixOS community has a security team and provides private vulnerability reporting and security information channels. |
| Supported platforms | Linux | The Nix reference manual lists Linux on i686, x86_64, and aarch64, and macOS on x86_64 and aarch64. |
Plans
In their own words
Gentoo Portage
Gentoo Portage has no write-up on Specifiction yet; its figures are above.
Nix
Nix is a free package management and system configuration tool for creating reproducible, declarative systems. It builds packages in isolation to avoid undeclared dependencies and help keep builds consistent across machines. Users can define and share development and build environments across projects and languages, install software from URLs or source code, and use virtual machines for integration testing. Nix supports dependency resolution, lockfiles, workspaces and offline installation; its package formats include Nix expressions, derivations and flakes. The Nix Packages collection offers over 140,000 packages. The wider ecosystem supports remote builds and deployments, binary caches, cross compilation, atomic upgrades and rollbacks to earlier package versions. Nix runs on Linux and macOS, and on Windows through WSL2; multi-user Windows installation requires WSL systemd support. Documentation includes guides for GitHub Actions, Docker images, Terraform deployment, SSH provisioning and distributed builds. Nix is aimed at people familiar with command-line interfaces and plain-text editors, including developers, test engineers, DevOps engineers, system administrators, data scientists, students and open-source enthusiasts. It has no paid plan listed.