Skip to main content

devbox shell

Start a new shell or run a command with access to your packages

Synopsis

Start a new shell or run a command with access to your packages. The interactive shell will use the devbox.json in your current directory, or the directory provided with dir.

devbox shell [<dir>] [flags]

Options

OptionDescription
-e, --env stringToStringenvironment variables to set in the devbox environment (default [])
--env-file stringpath to a file containing environment variables to set in the devbox environment
--print-envPrint a script to setup a devbox shell environment
--pureIf this flag is specified, devbox creates an isolated shell inheriting almost no variables from the current environment. A few variables, in particular HOME, USER and DISPLAY, are retained.
-h, --helphelp for shell
-q, --quietQuiet mode: Suppresses logs.

SEE ALSO

  • devbox - Instant, easy, predictable shells and containers