iTranslated by AI
Trying Out the Trendy mise on My Sub PC
🐶 Hi, I'm Beagle!
mise has been trending recently, hasn't it?
I also had an opportunity to try it out—coincidentally, I was reorganizing my sub-PC's environment, so I decided to give it a go.
In this article, I'll give a quick overview of how to get started with mise.
What is mise?
It's a CLI tool that centralizes version management for multiple languages and development tools.
Among similar tools, asdf is probably the most well-known.
Additionally, mise includes task management and environment variable management features, potentially replacing other tools and consolidating everything into one.
Also, since it's written in Rust, its performance is nice and fast.
You might want to call it 'maisu', but since it's French, the pronunciation is 'meez'.
Official mise Resources
What's So Great About It?
As is true for version management unification tools in general, being freed from the hassle of installing and configuring different version managers for each language is a huge advantage.
What I personally like most about mise is its simple and intuitive commands.
For example:
mise up
lets you update all tools managed through mise at once.
Needless to say, being fast and feature-rich is really great.
Installation Steps
It's straightforward.
Install
curl https://mise.run | sh
Enable (for bash)
echo 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc
You can also install it on Windows and macOS by following the official documentation.
Usage
You can see detailed help with the mise command, so here I'll only give a brief introduction.
Self-update
mise self-update
It's easy to forget to update mise itself.
If you see a notification that a newer version is available, it's good to run it.
I have the mise VSCode extension installed, so I often get notified through it.
Installing Tools and Specifying Versions
mise u [-g] <tool>@<ver>
Example:
mise u node@22
Using -g makes it a "global install" (settings shared across the entire system).
Omitting -g makes it a "local install" (effective only within the project).
<tool> is the tool name (e.g., node, Claude Code), and <ver> is the version number.
If you omit the version, the latest version is used, and you can update all tools at once with mise up.
Information about installations and version specifications is recorded in the current directory's mise.toml or the global configuration file ~/.config/mise/config.toml.
Updating Tools
mise up
Updates all tools managed by mise at once.
This includes tools managed both in the current directory and globally.
Uninstalling Tools
mise rm [-g] <tool>
Checking Installed Tools
mise ls [-g]
Displays a list of tool names and versions.
Adding the -g option shows only globally installed tools.
What Did I End Up Installing?
mise ls -g
aws 2.27.50 ~/.config/mise/config.toml latest
claude 1.0.44 ~/.config/mise/config.toml latest
gemini-cli 0.1.9 ~/.config/mise/config.toml latest
github-cli 2.75.0 ~/.config/mise/config.toml latest
node 24.4.0 ~/.config/mise/config.toml latest
terraform 1.12.2 ~/.config/mise/config.toml latest
uv 0.7.19 ~/.config/mise/config.toml latest
Since it's a sub-PC, I just installed whatever came to mind without much thought.
Everything seems to work fine.
Summary
Compared to asdf, mise stands out for its command simplicity and intuitive operation, which should make building and managing development environments significantly easier.
After trying it out thoroughly, it seems solid, so I'm planning to introduce it to my main PC as well.
I didn't cover them this time, but mise also offers many other features like task management, environment variable management, and backend selection.
If I get another chance, I'd like to touch on those as well, along with a comparison with asdf from a performance (especially security) perspective.
Discussion