Skip to content
aicoolies logo
devenv logo

devenv

Nix-powered reproducible development environments

devenv uses Nix to create reproducible, declarative development environments that work consistently across machines. Define project dependencies, services, environment variables, and pre/post hooks in a single devenv.nix file. Supports automatic shell activation, process management for databases and services, and integration with direnv for seamless directory-based environment switching.

About devenv

devenv solves the persistent problem of development environment inconsistency by using the Nix package manager to create isolated, reproducible environments defined in code. A single devenv.nix file specifies every dependency a project needs: programming language runtimes, build tools, databases, system libraries, and development utilities. When a developer enters the project directory, devenv provisions the exact versions of all dependencies without polluting the global system or conflicting with other projects.

The process management system starts supporting services alongside the development environment. PostgreSQL, Redis, Elasticsearch, and other services spin up automatically when the environment activates, configured specifically for the project's needs. This eliminates the Docker Compose overhead for simple service dependencies while maintaining reproducibility. Pre-commit hooks, test runners, and custom scripts integrate through the same configuration file.

devenv builds on Nix's massive package repository of over 100,000 packages, providing access to virtually any development tool without manual installation or version management. The integration with direnv enables automatic environment activation when entering project directories and deactivation when leaving, making the workflow transparent. Despite Nix's reputation for complexity, devenv provides a simplified configuration interface that makes reproducible development environments accessible to teams without Nix expertise.

Pricing & Platform Specs

Pricing Summary

Free and 100% open source under the Apache-2.0 license. Devenv has no licensing fees, seat limits, or paywalled CLI features; it provides fast, declarative, Nix-powered reproducible developer environments locally and in CI/CD pipelines for $0.

full pricing breakdown →

Supported Platforms

Linux, macOS, WSL2, Nix package manager

Explore categories, tags & use cases

Fast and lightweight Docker Desktop alternative for macOS

OrbStack is a macOS application that replaces Docker Desktop with lightweight container and Linux VM management. Its docs emphasize fast starts, lower CPU and memory overhead, and native macOS integration with menu bar controls, file sharing, and network access to containers by name, with exact gains depending on workload. Supports Docker, Kubernetes, and full Linux VMs.

freemium

Cross-machine dotfile manager with template support and encryption

Chezmoi manages dotfiles across multiple machines with template support for machine-specific configuration, secret encryption, and integration with password managers. It handles the complexity of maintaining consistent development environments across work laptops, personal machines, and servers. Over 15,000 GitHub stars with support for 1Password, Bitwarden, LastPass, and gpg encryption.

Open Source

Community experience

Sources & verification

Sources checked
Content verified

Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.

FAQ

What is devenv?

devenv uses Nix to create reproducible, declarative development environments that work consistently across machines. Define project dependencies, services, environment variables, and pre/post hooks in a single devenv.nix file. Supports automatic shell activation, process management for databases and services, and integration with direnv for seamless directory-based environment switching.

Is devenv free?

Yes — devenv is open source and free to use. Free and 100% open source under the Apache-2.0 license. Devenv has no licensing fees, seat limits, or paywalled CLI features; it provides fast, declarative, Nix-powered reproducible developer environments locally and in CI/CD pipelines for $0.

Is devenv open source?

Yes — devenv is open source.

Is devenv still maintained?

Yes — devenv is active. Its listing was last verified on September 6, 2026.

What are the best devenv alternatives?

The first editor-selected devenv alternatives are OrbStack, Chezmoi.