install-tools
Installs tools on your environment such as java, npm, node, terraform, go,. Use when installing a new tool, updating an existing one or uninstalling one.
- License 许可
- MPL-2.0
- 最近更新
- 2026-11-15
- Stars
- ★ 19
- Forks
- 11
01 前言 Front Matter
- name
- install-tools
- model
- sonnet
- description
- Installs tools on your environment such as java, npm, node, terraform, go,. Use when installing a new tool, updating an existing one or uninstalling one.
03 SKILL.md 正文
Quickstart
Installing mise:
curl https://mise.run | sh
By default, mise installs to ~/.local/bin, but it can go anywhere.
Verify the installation:
~/.local/bin/mise --version
# mise 2024.x.x
~/.local/bin does not need to be in PATH. mise will automatically add its own directory to PATH when activated.
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 pwsh | Out-String | Invoke-Expression' >> ~/.config/powershell/Microsoft.PowerShell_profile.ps1
Execute commands with specific tools
$ mise exec node@24 -- node -v
mise node@24.x.x ✓ installed
v24.x.x
Version pinning
Always pin tools to exact versions in mise.toml to prevent unexpected upgrades. Never use major-only ("1") or minor-only ("1.26") constraints:
# Correct — exact version, no surprises
[tools]
go = "1.26.2"
terraform = "1.14.8"
# Wrong — allows patch or minor upgrades
[tools]
go = "1.26"
terraform = "1"
To find the currently installed version before pinning:
mise ls --current
Install tools
$ mise use --global node@24 go@1
$ node -v
v24.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.
04 同仓库更多 Skills
skill_version
An example custom skill version for demonstration.
skill
An example custom skill.
account-research
Researches a customer account before a call.
account-research
Researches a customer account before a call.
skills
An example custom skill.
skill_versions
An example custom skill version for demonstration.