Mise
Mise ⧉ (pronounced "meez") is a tool that can pin
dev tool versions via a single mise.toml config file. This is nice because it
ensures every developer always has the correct version of each tool installed
and we don't have to manage them via e.g. pyproject.toml.
Installation
First run:
curl https://mise.run | sh
Then activate it in your shell. Add one of these to your shell config:
# bash (~/.bashrc)
eval "$(~/.local/bin/mise activate bash)"
# zsh (~/.zshrc)
eval "$(~/.local/bin/mise activate zsh)"
Restart your shell or source the config file.
Upgrade Mise to latest version
You can use mise self-update to upgrade Mise to the latest version.
Installing Tools
Inside the root of the monorepo, simply run:
mise trust mise.toml
mise install
During CI runs, MISE_YES=1 is set which allows is to skip the trust step
Adding Tools
If you want to add a new tool to mise.toml don't forget to also update
mise.lock by running:
mise lock
Changes to mise.lock should be committed.