Go to file
Risu 46a5895372
docs: update link to faq in use_versions_host (#4890)
2025-04-20 12:07:49 -05:00
.cargo
.config
.devcontainer
.github chore: enable workflow_dispatch for docs task 2025-03-24 06:45:29 -05:00
.idea
aqua-registry@f5fecdfcdd chore: release 2025.4.5 (#4849) 2025-04-17 20:31:18 -05:00
completions chore: release 2025.4.5 (#4849) 2025-04-17 20:31:18 -05:00
docs docs: fix typo in go backend tags option title (#4884) 2025-04-19 07:34:10 -05:00
e2e feat(go): support build tags (#4863) 2025-04-18 06:12:42 -05:00
e2e-win
man/man1
packaging chore: release 2025.4.5 (#4849) 2025-04-17 20:31:18 -05:00
schema
scripts Revert "chore: make awscli compatible with R2" 2025-03-26 17:00:37 -04:00
share/fish/vendor_conf.d
src feat(go): support build tags (#4863) 2025-04-18 06:12:42 -05:00
test
xtasks chore: make awscli compatible with R2 2025-03-24 06:44:30 -05:00
.cliffignore
.dockerignore
.editorconfig
.eslintrc.cjs
.gitattributes
.gitignore
.gitmodules
.markdown-link-check.json
.markdownlint.json
.markdownlintignore
.pre-commit-config.yaml
.prettierignore
.prettierrc.toml
.shellcheckrc
.yamllint.yml
CHANGELOG.md chore: release 2025.4.5 (#4849) 2025-04-17 20:31:18 -05:00
CONTRIBUTING.md
Cargo.lock chore: release 2025.4.5 (#4849) 2025-04-17 20:31:18 -05:00
Cargo.toml chore: release 2025.4.5 (#4849) 2025-04-17 20:31:18 -05:00
Cross.toml
Dockerfile
LICENSE
README.md chore: release 2025.4.5 (#4849) 2025-04-17 20:31:18 -05:00
SECURITY.md
age.pub
build.rs
bun.lock
cliff.toml
default.nix chore: release 2025.4.5 (#4849) 2025-04-17 20:31:18 -05:00
deny.toml
flake.lock
flake.nix
minisign.key.age
minisign.pub
mise.code-workspace
mise.lock
mise.toml
mise.usage.kdl feat(ubi): add support for self-hosted GitHub/GitLab (#4765) 2025-04-14 18:52:05 -05:00
package.json
pitchfork.toml
registry.toml test: fix aqua tool test 2025-04-17 20:04:50 -05:00
settings.toml docs: update link to faq in use_versions_host (#4890) 2025-04-20 12:07:49 -05:00
tasks.md docs: update demo (#4350) 2025-03-29 13:54:54 -05:00
tasks.toml docs: update demo (#4350) 2025-03-29 13:54:54 -05:00
tsconfig.json
zipsign.pub

README.md

mise-logo
mise-en-place

Crates.io GitHub GitHub Workflow Status Discord

The front-end to your dev env.

What is it?

Demo

The following demo shows how to install and use mise to manage multiple versions of node on the same system. Note that calling which node gives us a real path to node, not a shim.

It also shows that you can use mise to install and many other tools such as jq, terraform, or go.

demo

See demo transcript.

Quickstart

Install mise

See Getting started for more options.

$ curl https://mise.run | sh
$ ~/.local/bin/mise --version
2025.4.5 macos-arm64 (a1b2d3e 2025-04-18)

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
echo '~/.local/bin/mise activate mise activate pwsh | Out-String | Invoke-Expression' >> ~/.config/powershell/Microsoft.PowerShell_profile.ps1

Execute commands with specific tools

$ mise exec node@22 -- node -v
mise node@22.x.x ✓ installed
v22.x.x

Install tools

$ mise use --global node@22 go@1
$ node -v
v22.x.x
$ go version
go version go1.x.x macos/arm64

See dev tools for more examples.

Manage environment variables

# mise.toml
[env]
SOME_VAR = "foo"
$ mise set SOME_VAR=bar
$ echo $SOME_VAR
bar

Note that mise can also load .env files.

Run tasks

# mise.toml
[tasks.build]
description = "build the project"
run = "echo building..."
$ mise run build
building...

See tasks for more information.

Example mise project

Here is a combined example to give you an idea of how you can use mise to manage your a project's tools, environment, and tasks.

# mise.toml
[tools]
terraform = "1"
aws-cli = "2"

[env]
TF_WORKSPACE = "development"
AWS_REGION = "us-west-2"
AWS_PROFILE = "dev"

[tasks.plan]
description = "Run terraform plan with configured workspace"
run = """
terraform init
terraform workspace select $TF_WORKSPACE
terraform plan
"""

[tasks.validate]
description = "Validate AWS credentials and terraform config"
run = """
aws sts get-caller-identity
terraform validate
"""

[tasks.deploy]
description = "Deploy infrastructure after validation"
depends = ["validate", "plan"]
run = "terraform apply -auto-approve"

Run it with:

mise install # install tools specified in mise.toml
mise run deploy

Find more examples in the mise cookbook.

Full Documentation

See mise.jdx.dev

Contributors

Contributors