Ubuntu 20.04.3 LTS Version 14.0.0 is installed, node -v always shows it. Although in the list of programs Node appears as 16.13.1. I can manually change the version via nvm, but this is very inconvenient. How to make sure that there is no ghost on my computer about version 14?
CodePudding user response:
You can use n module from npm in order to upgrade node
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
to update to the latest version use
sudo n latest
CodePudding user response:
I solved this problem
rm -rf ~/.nvm
nvm install 16
