Skip to content
v0.36.0

New Stuff
 - add `nvm -v` as an alias for `nvm --version` (#2270)
 - `nvm deactivate`/`nvm which`: add `--silent`
 - adding default and alias option to `nvm install` (#2274, #1929)
 - `nvm_supports_xz`: Add Mac/FreeBSD xz platform support checks (#2156)
 - add `nvm_find_project_dir` helper

Fixes:
 - `latest-npm`: ensure npm 7 is not installed on node < 10
 - `nvm_die_on_prefix`: check that the prefix is inside the version dir, not just the nvm dir
 - `nvm use`: fix `--silent` when version is omitted
 - ensure `--help` is intercepted on any command (#2277)
 - `--help`: Add more examples (#2272)
 - `install`: improved arg parsing around `--reinstall-packages-from` (#1762)
 - `reinstall-packages`: do not include unmet peer deps (#1948)
 - `--help`: explain more clearly that <version> parameter is optional and can be provided by .nvmrc on `nvm install`, `nvm use`, `nvm exec`, and `nvm run` (#2242)
 - [Robustness] add `command` to `xargs`/`rm` in `nvm_get_default_packages` (#2281)
 - [debug] add `whoami` output
 - [performance] `nvm_auto`: only call `nvm_ls_current` in `use` mode (#2286)

Refactors:
 - [Refactor] add `nvm_get_checksum_binary`; use it in `nvm debug`
 - [Refactor] remove unused `nvm_checksum` function
 - [Refactor] Rename solaris and iojs helper functions to be nvm_ prefixed (#2213)
 - [Refactor] `nvm run`/`nvm exec`: use `NVM_SILENT` consistently internally (#2279)

Dockerfile:
 - [dockerfile] Add missing apt package `locales` (#2306)
 - [dockerfile] Remove ShellCheck Segmentation fault workaround (#2305)
 - [dockerfile] Update ShellCheck download URL in Dockerfile (#2304, #2232)
 - [dockerfile] Update Dockerfile base image to Ubuntu 16.04, cc #2008 (#2187)

Docs:
 - [readme] fix LTS upgrade command (#2294)
 - [readme] update autocompletion output examples
 - [readme] Mention problem with windows cmd echo (#2282)
 - [readme] Add documentation for LTS updates which reinstall existing packages (#2271)
 - [readme] Fix fish load_nvm function (#2252)
 - [readme] Update macOS troubleshooting w/ 10.15 zsh default (#2248)
 - [readme] Update install instructions troubleshooting (#2225)
 - [readme] Syntax highlight for Ansible task example in README.md (#2228)
 - [readme] Update README for environment variables (#2159)
 - [readme] Stop removing spaces from nvm_path (#2235)
 - [readme] include deeper integration instructions for fish (#2208)
 - [patch] Update docs and add warning for 'nvm is not compatible with the npm config "prefix" option' edgecase error on Mac OS (#2263)

Tests:
 - pin postcss to v7
 - Source nvm.sh before defining FILE (#2182)

Meta Stuff:
- fix TOC action
- add actions: Automatic Rebase for PRs, auto-update-TOC for push