Files
dotfiles/scripts/cleanup-old-version-managers.md
Ismo Vuorinen df84f1dc0e chore(mise): update configs and add cleanup script documentation
Update tooling configs, shell settings, and editor configurations
as part of the mise migration. Add companion documentation for the
cleanup-old-version-managers script and remove unused fish completions.
2026-03-18 08:43:32 +02:00

601 B

cleanup-old-version-managers

Remove old version manager installations that have been replaced by mise.

Usage

scripts/cleanup-old-version-managers.sh [--dry-run]

What it does

  1. Removes data directories for nvm, fnm, pyenv, goenv, and bob-nvim.
  2. Removes cargo-installed tool binaries now managed by mise.
  3. Removes go-installed tool binaries from $GOPATH/bin.
  4. Uninstalls Homebrew packages replaced by mise (if brew is available).

Mason binaries ($XDG_DATA_HOME/nvim/mason/) are not touched.

Pass --dry-run to preview what would be removed without making changes.