Skip to content
v0.39.2

Fixes
 - `--help`: proper default `NVM_COLORS` info
 - `nvm install-latest-npm`: ensure npm 9 does not install on unsupported nodes
 - `install.sh`: support `~/.zprofile` (#2892, #2868, #2232)
 - Don't override Mac M1 architecture for node ^14.17 (#2777)
 - `nvm install`: show proper version in `.nvmrc` install instructions (#2770)
 - `install.sh`: error out if the install instructions are not followed (#2742)
 - `install`: better error message when xcode command line tools are needed
 - avoid OpenBSD `nvm install` error when /sbin/init doesn't exist (#2698)
 - `set -E`: Add test for `node install` on Bash with an ERR trap and `set -E`
 - add missing `local` (handle nonexisting /sbin/init a bit more cleanly) (#2678)
 - Update `nvm_extract_tarball` to support OpenBSD (#2693)

Performance
 - `nvm_print_versions`: re-implement using awk

Robustness
 - avoid a clobbered `ls` (#2727)

Refactors
 - nvm install/`nvm_install_default_packages`: move "get" logic inside helper
 - add `nvm_extract_tarball` to consolidate extraction logic

Docs / Read Me
 - Update Alpine Linux Section (#2896)
 - optimize calling of `nvm version` in zsh (#2874)
 - Fix Ansible Linting Errors (#2861)
 - cdnvm(): handle failed dir change (#2840)
 - Fix Git Install instruction list structure (#2823)
 - add logo
 - minor cleanup
 - Add note about creating .bashrc file *as well as* .bash_profile (#2729)
 - `fish`: send output from `load_nvm` to `/dev/stderr` (#2783)
 - fix fish load_nvm variable interpolations (#2776)
 - Correct typos in "Macs with M1 chip" section (#2760)
 - HTTP => HTTPS (#2735, #2713)
 - clarify instructions for running Node on M1 Mac (#2675)

Dockerfile
Update base image from Ubuntu 18.04 to 20.04, cc #2877 (#2882)

Misc
 - [meta] Update CODE_OF_CONDUCT to current version (#2790)

Tests
 - update test mocks
 - github actions removed homebrew and broke shellcheck (#2907)
 - node 18 no longer builds in travis-ci (#2907)