A way to use mise in cmd.exe using Clink. As of June 2025, there's no support for cmd.exe in mise, hence this comes into play.
The easiest way to install it for use with your Clink is:
- Make sure you have git installed.
- Clone this repo into a local directory via
git clone https://github.com/binyaminyblatt/mise-clink local_directory. - Tell Clink to load scripts from the repo via
clink installscripts absolute/path/to/local_directory. - Start a new session of Clink.
- Ensure environment variable
CLINK_DIRpoints to the clink directory containingclink.bat,clink_*.exe. The env var may be unset when using clink, installed by a package manager.
Get updates using git pull and normal git workflow.
You can use mise shell completions that have been extended using cuc. It should generate mise.usage.lua in the same directory as mise.lua.
> mise completion clink
...There are some settings that you can configure using:
@REM Get info on all settings
clink set -i mise.*
@REM Set the setting to value
clink set <setting> <value>
@REM Clear the setting's value to use the default one
clink set <setting> clear