> ## Documentation Index
> Fetch the complete documentation index at: https://www.jetify.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# devbox global add

> Add a new global package.

```bash theme={null}
devbox global add <pkg>... [flags]
```

## Examples[​](#examples "Direct link to Examples")

```bash theme={null}
# Add the latest version of the `ripgrep` package
devbox global add ripgrep

# Install glibcLocales only on x86_64-linux and aarch64-linux
devbox global add glibcLocales --platform x86_64-linux,aarch64-linux

# Exclude busybox from installation on macOS
devbox global add busybox --exclude-platform aarch64-darwin,x86_64-darwin
```

## Options[​](#options "Direct link to Options")

| 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                        |
| `-e, --exclude-platform strings` | exclude packages from a specific platform.                                    |
| `-h, --help`                     | help for add                                                                  |
| `-q, --quiet`                    | quiet mode: suppresses logs.                                                  |
| `-p`, `--platform strings`       | install packages only on specific platforms. Defaults to the current platform |

Valid Platforms include:

* `aarch64-darwin`
* `aarch64-linux`
* `x86_64-darwin`
* `x86_64-linux`

The platforms below are also supported, but will build packages from source

* `i686-linux`
* `armv7l-linux`

## SEE ALSO[​](#see-also "Direct link to SEE ALSO")

* [devbox global](/docs/devbox/devbox-global/) - Manages global Devbox packages

[Edit this page](https://github.com/jetify-com/docs/tree/main/docs/devbox/cli-reference/devbox-global-add/index.mdx)
