Files
cheatsheets/mise/CHEATSHEET.md

69 lines
1.2 KiB
Markdown

# mise
## Meta
```yaml
name: mise
repo: https://github.com/jdx/mise
description: dev tools, env vars, task runner
```
## Install
```shell
$ curl https://mise.run | sh
$ ~/.local/bin/mise --version
_ __
____ ___ (_)_______ ___ ____ ____ / /___ _________
/ __ `__ \/ / ___/ _ \______/ _ \/ __ \______/ __ \/ / __ `/ ___/ _ \
/ / / / / / (__ ) __/_____/ __/ / / /_____/ /_/ / / /_/ / /__/ __/
/_/ /_/ /_/_/____/\___/ \___/_/ /_/ / .___/_/\__,_/\___/\___/
/_/ by @jdx
2026.4.9 macos-arm64 (2026-04-11)
```
Auto load msie env:
```shell
echo 'eval "$(mise activate zsh)"' >> ~/.zshrc
```
```shell
echo 'eval "$(mise activate bash)"' >> ~/.bashrc
```
## Usage
### Install Tools
```shell
$ mise use --global node@24 go@1
$ node -v
v24.x.x
$ go version
go version go1.x.x macos/arm64
```
### Execute Tool
```shell
$ mise exec node@24 -- node -v
mise node@24.x.x ✓ installed
v24.x.x
```
### Tool Versions
```shell
➜ mise ls-remote jq
******
1.7.1
1.8.0
1.8.1
```
### Search
```shell
➜ mise search go
Tool Description
go go lang (Builtin plugin). ******
```