i am new in linux and want install node with bellow command:
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install nodejs
and angular 8 needs node 12.x
i remove node with sudo apt-get purge --auto-remove nodejs
and run bellow command but it installed perverse version
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install nodejs