curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
nvm install v20.12.2
source ~/.bashrc
nvm install v20.12.2
npm -v
node -v
also:
nvm ls
nvm use {version}
@see https://medium.com/@glasshost/how-to-change-the-version-of-npm-using-nvm-b4484e47d763
Leave a Reply