nvm command errors All In One
errors
nvm can not change the default alias node.js version ❌
$ nvm install 18.20.4
# current use
$ nvm use 18.20.4
# set default, but not use default ❌
$ nvm alias default 18.20.4
solutions
# use default ✅
$ nvm use default
Now using node v18.20.4 (npm v10.7.0)
demos
# set default ✅
$ nvm alias default 18.20.4
# use default ✅
$ nvm use default