I tried several tutorials on the internet before coming to post the doubt here in StackOverflow and no tip worked. My repository is with version 8 of the Node and the same, even removing, back.
I need to install Node 10.
I've tried:
sudo apt-get purge nodejs
sudo apt-get purge --auto-remove nodejs
udo apt-get purge nodejs
sudo apt-get autoremove
And remove. And when I use the DigitalOcean tutorial that says:
curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -
And then:
sudo apt install nodejs
Re-install version 8 instead of 10 on Node.
What am I doing wrong?