Devbox is a command-line tool that lets you easily create isolated shells for development.
Devbox requires the Nix Package Manager. If Nix is not detected when running a command, Devbox will install it in multi-user mode for macOS.
curl -fsSL https://get.jetify.com/devbox | bash
devbox init
This creates a devbox.json file in the current directory. You should commit it to source control.
devbox add <package>@<version>
devbox shell
exit
To share your project and shell, make sure to check in your devbox.json and devbox.lock file into source control. These files will ensure that developers get the same packages and environment when they run your project.