Skip to content

3.0.0

Latest

Choose a tag to compare

@jorgebucaran jorgebucaran released this 30 Nov 05:19
· 1 commit to main since this release
3.0.0
bf16e98
  • Fix switching versions in tmux, VS Code's terminal and subshells (#222, #242, #245).
  • Fix nvm install latest installing one of Node's new alpha versions. Use nvm install alpha if you want one (#257, thanks @marmitar).
  • Fix nvm in terminals that were open before you installed nvm.fish (#255).
  • Fix .nvmrc files with spaces or Windows line endings (#212).
  • Fix nvm install on macOS leaving a broken version behind when the download fails.
  • nvm use now prints "Now using…" only when the version changes, so you don't see it after every cd (#244, #253, thanks @esimkowitz). See Switching versions automatically.
  • Add nvm deactivate to remove the Node version in use from PATH.
  • Fix nvm install and nvm list-remote when a proxy or mirror compresses the Node index (#256, thanks @YoungCatChen).
  • nvm now keeps the old Node index when downloading a new one fails.
  • Fix nvm list and nvm list-remote ignoring the pattern when no Node is on PATH.
  • Fix paths like /var~/.local/share/nvm when /home is a symlink, like on Fedora Atomic (#243, thanks @jnohlgard).
  • nvm use default now fails when nvm_default_version is empty or not set.
  • Updating nvm.fish no longer erases nvm_data and nvm_mirror that you set with set --universal.
  • nvm now says why a download failed, like 404 Not Found, timed out, instead of "host unavailable" for every failure.
  • New README and tests.

If you call nvm from scripts: usage errors now exit with status 2 instead of 1, and nvm install prints its status lines on standard error.

nvm.fish now needs Fish 3.2 or newer.