Starting to learn Nodejs in Ubuntu (New to ubuntu as well). when I use
apt install nodejs , v8.x.x is getting installe instead of current v12.x.x.
I tried to use nvm using from here but it is only installing node and not nodejs.
I tried to install from nodejs.org but it's just installing a tar package and I'm not sure how to install it or even if I'm able to install, do not find any easy way to update the node version.
Can someone provide me right way to install latest nodejs.