Skip to main content

Packages

This is a list or map of Nix packages that should be installed in your Devbox shell and containers. These packages will only be installed and available within your shell, and will have precedence over any packages installed in your local machine. You can search for Nix packages using Nix Package Search. You can add packages to your devbox.json using devbox add <package_name>, and remove them using devbox rm <package_name>. Packages can be structured as a list of package names (<packages>@<version>) or flake references:
If you need to provide more options to your packages (such as limiting which platforms will install the package), you can structure packages as a map, where each package follows the schema below:
For example:
Note that devbox add will automatically format packages based on the options and packages that you provide.