You can install nvm for any version specific if you want to run and do your project.
1.sudo apt install curl 2. next run this curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash To activate it, either log out and log back in or run source ~/.bashrc
if nodejs installed previously then you can go to the specific project and in cmd run by the version of nodejs nvm install version