/oss · 1 merged

nvm-sh/nvm

The popular tool for installing and switching between versions of Node.js.

the project on GitHub (opens in a new tab)
  1. 3 Nov 2026

    The installer writes a working path outside the home folder

    What was broken
    The installer treated any folder starting with the home path as inside it. A home of /home/me and nvm in /home/me2 wrote a broken path, so nvm did not load.
    What I changed
    It now writes the home shortcut only when nvm really is inside the home folder, and the full path otherwise.
    Why it matters
    nvm loads in new shells, including in containers whose user has no home folder.

    see the code, #3962 (opens in a new tab)

← every project