mise
Home | mise-en-place
GitHub - jdx/mise: dev tools, env vars, task runner
GitHub - mise-plugins/registry: Convenience shortname repository for mise plugins
Like asdf (or nvm or pyenv but for any language) it manages dev tools like node, python, cmake, terraform, and hundreds more.
Like direnv it manages environment variables for different project directories.
Like make it manages tasks used to build and test projects.
Memo
commands
code: (bash)
# Install
mise use -gy ${PLUGIN}@${VERSION}
# 古いツールの一覧
mise outdated
# 古いツールのアップグレード
mise upgrade --dry-run
# 利用されていないバージョンのツールを削除
mise prune --dry-run
# Uninstall
mise unuse ${PLUGIN}
# homebrew から移行できるツールを検索する
brew list --formulae -1 | xargs -n1 mise search
# 読み込まれている config 確認
mise cfg
direnv の代わり
code: (bash)
# mise.local.toml は git に残さない用途
touch mise.local.toml
mise set HOGE="fuga" --file mise.local.toml
mise trust
作成されたファイル
code: mise.local.toml
env
HOGE = "FUGA"
.gitignore
code: .gitignore
### mise ###
# General
mise.local.toml