docs/cli/env.md
mise envmise env [FLAGS] [TOOL@VERSION]…esrc/cli/env.rsPrint the environment for the current configuration
Evaluate the shell output to load tools and variables once, without installing
prompt hooks. Changing directories afterward does not recompute this environment.
Use mise exec -- command to apply it to one child process instead.
JSON, dotenv, and shell output contain actual variable values, including secrets.
--redacted selects variables marked for redaction; it does not mask their values.
Environment construction may install missing tools according to mise's settings.
[TOOL@VERSION]… — Tool(s) to include in addition to those in config, e.g. node@20-D --dotenv — Output in dotenv format
-J --json — Output in JSON format
-s --shell <SHELL> — Shell type to generate environment variables for
Choices: bash, elvish, fish, nu, xonsh, zsh, pwsh, powershell
--json-extended — Output in JSON format with additional information (source, tool)
--redacted — Only include variables marked for redaction; their values are printed unmasked
--values — Only show values of environment variables
-h --help — Print help
eval "$(mise env -s bash)"
eval "$(mise env -s zsh)"
mise env -s fish | source
execx($(mise env -s xonsh))