docs/cli/env.md
mise envmise env [FLAGS] [TOOL@VERSION]…esrc/cli/env.rsExports env vars to activate mise a single time
Use this if you don't want to permanently install mise. It's not necessary to
use this if you have mise activate in your shell rc file.
[TOOL@VERSION]…Tool(s) to use
-D --dotenvOutput in dotenv format
-J --jsonOutput in JSON format
-s --shell <SHELL>Shell type to generate environment variables for
Choices:
bashelvishfishnuxonshzshpwsh--json-extendedOutput in JSON format with additional information (source, tool)
--redactedOnly show redacted environment variables
--valuesOnly show values of environment variables
Examples:
eval "$(mise env -s bash)"
eval "$(mise env -s zsh)"
mise env -s fish | source
execx($(mise env -s xonsh))