Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Skip to main content
CLI Reference
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:
. <(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.
~/.bashrcor~/.zshrc):eval "$(devbox global shellenv)"
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
- devbox global - Manages global Devbox packages
Was this page helpful?
