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.
~/.bashrc
or~/.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