Skip to main content

devbox generate direnv

Top level command for generating the .envrc file for your Devbox Project. This can be used with direnv to automatically start your shell when you cd into your devbox directory

devbox generate direnv [flags]

Options

OptionDescription
-c, --config stringpath to directory containing a devbox.json config file
-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. If the file does not exist, then this parameter is ignored
-h, --helphelp for direnv
-q, --quietQuiet mode: Suppresses logs.

SEE ALSO