<p>Instead of using tools like Docker or nvm to manage dependencies for your projects, you can use Nix instead.</p>
<p>Creating a Nix shell or flake for each project with its dependencies will install everything without needing containers and with the benefit of everything being locked to specific versions, <a href="/daily/2024/11/12/why-consistency-and-reproducibility-are-important">making environments reproducible</a>.</p>
<p>If you need a specific version of PHP or node for a project, it will be available and different versions can be used for other projects.</p>
<p>And if you need services like MySQL and you're not using NixOS, you can also use devenv to manage services, tasks and processes for each project.</p>
<p>For me, Nix and devenv have <a href="/daily/2024/11/11/could-nix-and-devenv-replace-docker-compose">replaced Docker and Docker Compose</a> on my development projects.</p>
format:full_html
processed:|
<p>Instead of using tools like Docker or nvm to manage dependencies for your projects, you can use Nix instead.</p>
<p>Creating a Nix shell or flake for each project with its dependencies will install everything without needing containers and with the benefit of everything being locked to specific versions, <a href="/daily/2024/11/12/why-consistency-and-reproducibility-are-important">making environments reproducible</a>.</p>
<p>If you need a specific version of PHP or node for a project, it will be available and different versions can be used for other projects.</p>
<p>And if you need services like MySQL and you're not using NixOS, you can also use devenv to manage services, tasks and processes for each project.</p>
<p>For me, Nix and devenv have <a href="/daily/2024/11/11/could-nix-and-devenv-replace-docker-compose">replaced Docker and Docker Compose</a> on my development projects.</p>