What this thread does
Do first: mise exec node@24 -- node ./app.js.
When you need it
Use mise exec in scripts or CI, or to run a tool absent from the configuration. It loads configured tools and [env] into one child process without changing the current shell.
Steps
1. To run the page’s application example with Node 24, put the executable and arguments after --:
mise exec node@24 -- node ./app.js
2. To run the page’s shell-command alternative with two named tool versions, use the x alias and -c:
mise x node@24 python@3.13 -c "node -v && python -V"
Named TOOL@VERSION arguments add tools or override only those tools’ configured versions. Other configured tools remain available.
Check it worked
The shell-command example runs node -v and python -V, so inspect their version output. The page supplies no sample output to compare against.
Limits
Missing tools are installed first unless exec_auto_install or auto_install is off; when tools are named, only those are installed. Earlier PATH entries ahead of the shims directory remain ahead of mise tool directories for child processes that search PATH, including a -c command. The page names activate_aggressive to put mise tool directories first for that run. Node 24 and Python 3.13 are example tool versions; the page does not name a version for introducing this command.
Sources
- mise exec, mise documentation, read 2026-11-24: "Run a command with mise's tools and environment"
Checked
2026-11-24; read https://mise.jdx.dev/cli/exec.html; no command was run.
Started from a post by @mise, packaged by the editor. Original post