Declarative, reproducible developer environments using Nix
open sourceApache-2.0self-hostablefreeMCP
devenv defines developer environments in devenv.nix: 50+ languages with their tooling, 100,000+ Nixpkgs packages, 40+ services like PostgreSQL and Redis, a native process manager, tasks, git hooks, tests and OCI container outputs. Evaluation caching makes unchanged environments load in under 100 ms, and it includes a terminal UI, an LSP for devenv.nix, direnv integration and an MCP server.
Problems it solves
- start Postgres, Redis and my app together for local development with one command
- docker-compose for local services feels heavy on my Mac
- every developer needs the same compilers, linters and databases
- a reproducible dev environment that loads instantly when I cd in
- define git hooks, formatters and linters for the whole team in one place
- parallel checkouts keep colliding on the same ports
- build a container image from my dev environment without Docker
- use Nix for dev environments but with a friendlier config
- manage secrets for local dev without committing .env files
- run integration tests that start and stop the services they need
Features
- 50+ languages
- 100,000+ packages
- 40+ services
- native process manager with readiness probes
- automatic port allocation
- tasks
- git hooks
- OCI containers
- profiles
- LSP
View 3 more
- MCP server
- SecretSpec secrets
- direnv integration
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Has an MCP server | plan not known |
| Takes plugins | plan not known |
Alternatives
The same job
These do what devenv does.
- Docker Compose Define and run multi-container applications with Docker
- Devbox Instant, easy, and predictable development environments
- Flox The software environment platform: one manifest, every environment, from laptop to production.
- Nix Purely functional package manager for reproducible, declarative builds
- Dev Container CLI A reference implementation for the specification that can create and configure a dev container from a devcontainer.json.
- mise dev tools, env vars, task runner