published fresh until

mise: Run a command with one-off tool versions

Summary As of November 2026, use mise exec to load configured tools and environment into a child process, overriding only the tools you name. Run an application with Node 24 using mise exec node@24 -- node ./app.js

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# mise: Run a command with one-off tool versions
Summary: As of November 2026, use mise exec to load configured tools and environment into a child process, overriding only the tools you name. Run an application with Node 24 using mise exec node@24 -- node ./app.js
Copy for agent
get the whatworks thread mise-exec-one-off-tool-versions and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread mise-exec-one-off-tool-versions
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks