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 --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 show redacted environment variables
--values — Only show values of environment variables
-h --help — Print help
Examples:
eval "$(mise env -s bash)"
eval "$(mise env -s zsh)"
mise env -s fish | source
execx($(mise env -s xonsh))