Examples
Options
Valid Platforms include:
aarch64-darwinaarch64-linuxx86_64-darwinx86_64-linux
i686-linuxarmv7l-linux
SEE ALSO
- devbox - Instant, easy, predictable shells and containers
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Add a new package to your devbox
devbox add <pkg>... [flags]
# Add the latest version of the `ripgrep` package
devbox add ripgrep
# Install glibcLocales only on x86_64-linux and aarch64-linux
devbox add glibcLocales --platform x86_64-linux,aarch64-linux
# Exclude busybox from installation on macOS
devbox add busybox --exclude-platform aarch64-darwin,x86_64-darwin
# Install non-default outputs for a package, such as the promtool CLI
devbox add prometheus --outputs=out,cli
| Option | Description |
|---|---|
--allow-insecure | allows Devbox to install a package that is marked insecure by Nix |
-c, --config string | path to directory containing a devbox.json config file |
--disable-plugin | disable the build plugin for a package |
--environment string | Jetify Secrets environment to use, when supported (e.g.secrets support dev, prod, preview.) (default “dev”) |
-e, --exclude-platform strings | exclude packages from a specific platform. |
-h, --help | help for add |
-o, --outputs strings | specify the outputs to install for the nix package |
-p, --platform strings | install packages only on specific platforms. |
--patch | Allow Devbox to patch your packages to fix issues with missing native libraries (auto, always, never) (default “auto”) |
-q, --quiet | quiet mode: Suppresses logs. |
aarch64-darwinaarch64-linuxx86_64-darwinx86_64-linuxi686-linuxarmv7l-linuxWas this page helpful?