Skip to content

Add Mise Runtime Version Manager Feature #1356

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

zakariaf
Copy link

@zakariaf zakariaf commented May 7, 2025

This PR adds support for Mise (formerly RTX), a unified runtime version manager that works like asdf, rvm, nvm, pyenv, etc., but as a single tool for managing all language runtimes.

Features

  • Install latest or specific version of Mise
  • Option to pre-install specific plugins (Yarn, Redis, Postgres, etc.)
  • Full shell integration with bash and zsh
  • Works on Debian/Ubuntu, RHEL, and Fedora Linux

Why Mise?

Mise offers several advantages over other version managers:

  • Fast performance (written in Rust)
  • Unified tool for all languages (replaces multiple managers)
  • Compatible with existing version files (.node-version, .python-version, etc.)
  • Direct compatibility with asdf plugins
  • Growing community adoption

Testing

Tested on:

  • Ubuntu
  • Debian
  • RHEL
  • Fedora

Documentation

Added comprehensive documentation with example configurations and usage instructions.

zakariaf added 2 commits May 7, 2025 23:44
This commit introduces the Mise (formerly RTX) runtime version manager
as a new devcontainer feature. Mise provides a unified tool to manage
multiple language runtimes such as Node.js, Python, Ruby, and many others

- Install Mise from official sources or specific version
- Support for customizing which plugins to install
- Compatible with Debian/Ubuntu, RHEL, and Alpine Linux
- Automatic shell integration with bash and zsh
- Full documentation and usage examples
- Proper cleanup and error handling
@zakariaf zakariaf requested a review from a team as a code owner May 7, 2025 21:48
@zakariaf
Copy link
Author

zakariaf commented May 7, 2025

@microsoft-github-policy-service agree

Copy link
Contributor

@Kaniska244 Kaniska244 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @zakariaf ,

Thank you for the contribution. Left some comments, kindly let me know in case of any concerns regarding them.

Also we already have a 3rd party devcontainer feature here for mise listed in devcontainers website. Does this PR offer any significant improvement over that?

@@ -0,0 +1,36 @@
{
"install_specific_version": {
"image": "ubuntu:focal",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we please use ubuntu:jammy or ubuntu:noble here instead of ubuntu:focal as base image. The ubuntu focal(20.04) is going out of support after May 31st, 2025.

}
},
"install_with_plugins": {
"image": "ubuntu:focal",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would is be possible to add few steps regarding the basic utilities of the mise tool such as installing single/ multiple versions of supported languages in the test scripts? For reference test scripts of Oryx feature could be referred.

@AlvaroRausell
Copy link
Contributor

👋 Hi @zakariaf, are you still working on this PR? Is there anything I can help with?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants