# devbox global
Source: https://www.jetify.com/docs/docs/devbox/cli-reference/devbox-global/index

Top level command for managing global packages.

You can use `devbox global` to install packages that you want to use across all your local devbox
projects. For example -- if you usually use `ripgrep` for searching in all your projects, you can
use `devbox global add ripgrep` to make it available whenever you start a `devbox shell` without
adding it to each project's `devbox.json.`

You can also use Devbox as a global package manager by adding the following line to your shellrc:

`eval "$(devbox global shellenv)"`

For more details, see [Use Devbox as your Primary Package Manager](/docs/devbox/devbox-global/).

```bash theme={null}
devbox global <subcommand> [flags]
```

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

| Option                | Description                                            |
| --------------------- | ------------------------------------------------------ |
| `-c, --config string` | path to directory containing a devbox.json config file |
| `-h, --help`          | help for generate                                      |
| `-q, --quiet`         | Quiet mode: Suppresses logs.                           |

## Subcommands[​](#subcommands "Direct link to Subcommands")

* [devbox global add](/docs/devbox/cli-reference/devbox-global-add/) - Add a global package to your
  devbox
* [devbox global list](/docs/devbox/cli-reference/devbox-global-list/) - List global packages
* [devbox global pull](/docs/devbox/cli-reference/devbox-global-pull/) - Pulls a global config from
  a file or URL.
* [devbox global rm](/docs/devbox/cli-reference/devbox-global-rm/) - Remove a global package
* [devbox global shellenv](/docs/devbox/cli-reference/devbox-global-shellenv/) - Print shell
  commands that add global Devbox packages to your PATH

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

* [devbox](/docs/devbox/cli-reference/devbox/) - Instant, easy, predictable development environments

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