apollohuang1 / mise

dev tools, env vars, task runner

Home Page:https://mise.jdx.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crates.io GitHub GitHub Workflow Status Codacy coverage (branch) Discord

The front-end to your dev env. (formerly called "rtx")

What is it?

Migrating from rtx

mise will attempt to migrate most of its internal files making the transition as easy as possible. That said, it's worth reading the migration guide because there are a few things to watch out for.

30 Second Demo

The following shows using mise to install different versions of node. Note that calling which node gives us a real path to node, not a shim.

demo

Quickstart

Install mise (other methods here):

$ curl https://mise.run | sh
$ ~/.local/bin/mise --version
mise 2024.4.12

Hook mise into your shell (pick the right one for your shell):

# note this assumes mise is located at ~/.local/bin/mise
# which is what https://mise.run does by default
echo 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc
echo 'eval "$(~/.local/bin/mise activate zsh)"' >> ~/.zshrc
echo '~/.local/bin/mise activate fish | source' >> ~/.config/fish/config.fish

Install a runtime and set it as the global default:

$ mise use --global node@20
$ node -v
v20.0.0

Full Documentation

See mise.jdx.dev

About

dev tools, env vars, task runner

https://mise.jdx.dev

License:MIT License


Languages

Language:Rust 90.6%Language:Shell 8.7%Language:Dockerfile 0.3%Language:Nix 0.3%Language:Ruby 0.1%