> ## 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 shellenv

> Print shell commands that add global Devbox packages to your PATH

* To add the global packages to the PATH of your current shell, run the following command:

  ```bash theme={null}
  . <(devbox global shellenv)
  ```

* To add the global packages to the PATH of all new shells, add the following line to your shell's
  config file (e.g. `~/.bashrc` or `~/.zshrc`):

  ```bash theme={null}
  eval "$(devbox global shellenv)"
  ```

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

| Option        | Description                                                                                                                                                                                         |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--pure`      | If this flag is specified, devbox creates an isolated environment inheriting almost no variables from the current environment. A few variables, in particular HOME, USER and DISPLAY, are retained. |
| `-h, --help`  | help for shellenv                                                                                                                                                                                   |
| `-q, --quiet` | suppresses logs                                                                                                                                                                                     |

## 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-shellenv/index.mdx)
