nvm
on your command line to install, update and switch between Node.js versions any time. To switch to a different version, simply enter nvm use VERSION
and nvm runs all required commands to change the version and make it accessible in your terminal.
For more information about nvm, take a look at the official nvm documentation.
herd isolate-node VERSION
in the directory where you want to set the Node.js version.
This creates a .nvmrc
file in the directory that contains the specified version.
When you run nvm use
in this directory, nvm reads the .nvmrc
file and switches to the specified Node.js version automatically.
nvm list
. So if you want to uninstall node 18.20.4, run nvm uninstall 18.20.4
.
NVM_HOME
and NVM_SYMLINK
. This also applies if you remove nvm that ships with Herd.
After restarting Herd, the nvm configuration in the settings displays the button to install the nvm version that ships with Herd and that manages local Node.js versions via the GUI.
Unknown
for your node version in the sites list.