node -v #Determine current node version sudo npm install -g n #Install n globally (version management) sudo n stable #Change to latest stable version sudo n 14.6.0 #Change to specific version