migração

Migrar de asdf para mise

Licença e termos

asdf
MIT, Código aberto
mise
MIT, Código aberto
Tipo de substituição
Substituição completa Reads .tool-versions and supports asdf plugins, with its own commands.

Esta página está escrita em inglês.

Compatibility

mise reads .tool-versions files and supports legacy asdf plugins, so a project’s existing version declarations work as a starting point. mise also accepts the asdf tool names nodejs and golang, while its own mise.toml uses node and go. CLI and plugin compatibility are best-effort: some asdf spellings are accepted, but the aliases do not emulate asdf completely.

Goal asdf mise
Install a version asdf install nodejs 24.0.0 mise install node@24.0.0
Set a project version asdf set nodejs 24.0.0 mise use node@24.0.0
Set a personal default asdf set -u nodejs 24.0.0 mise use -g node@24.0.0
List available versions asdf list all nodejs mise ls-remote node
Show selected versions asdf current mise ls --current

Before you switch

The guide recommends trying one project before changing your shell:

  1. Install mise.
  2. In the project, run mise config ls and mise ls --current to see how mise reads the existing .tool-versions.
  3. Run mise install, then check a command through mise, for example mise exec -- node --version.
  4. Remove the asdf activation and shim PATH entries from your shell startup files, activate mise, open a new shell and run mise doctor.
  5. For personal defaults, use mise use -g or edit ~/.config/mise/config.toml, copying the versions you need.

Pitfalls

Guia oficial

Guia de migração de mise ↗

Revisado em 2026-10-06.

Fontes

Outras alternativas a asdf →