Install specific node version and update node to lastest stable version
# Install specific node versionsudocurl-sL https://deb.nodesource.com/setup_16.x |sudo-Ebash -
sudoaptinstall nodejs
# To update node to lastest stable versionsudonpm cache clean -fsudonpminstall-g n
sudo n stable