- Fix switching versions in tmux, VS Code's terminal and subshells (#222, #242, #245).
- Fix
nvm install latestinstalling one of Node's new alpha versions. Usenvm install alphaif you want one (#257, thanks @marmitar). - Fix nvm in terminals that were open before you installed nvm.fish (#255).
- Fix
.nvmrcfiles with spaces or Windows line endings (#212). - Fix
nvm installon macOS leaving a broken version behind when the download fails. nvm usenow prints "Now using…" only when the version changes, so you don't see it after everycd(#244, #253, thanks @esimkowitz). See Switching versions automatically.- Add
nvm deactivateto remove the Node version in use fromPATH. - Fix
nvm installandnvm list-remotewhen 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 listandnvm list-remoteignoring the pattern when no Node is onPATH. - Fix paths like
/var~/.local/share/nvmwhen/homeis a symlink, like on Fedora Atomic (#243, thanks @jnohlgard). nvm use defaultnow fails whennvm_default_versionis empty or not set.- Updating nvm.fish no longer erases
nvm_dataandnvm_mirrorthat you set withset --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.