Usage Recommendations
npm installnpm run startinstall node on Ubuntu
sudo apt updatesudo apt upgradesudo apt install nodejs npmcurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bashsource ~/.bashrcnvm ls-remotenvm use v[your choice]node -vThis process ensures that you have Node.js and npm installed, and it also sets up NVM for managing Node.js versions, allowing you to choose and switch between different versions as needed. This is a recommended way to manage Node.js installations, even for local use, as it provides flexibility and version control.
Matthieu Gravy