Loading tool…
cheatsheet
nvm install nodeInstall the latest Node.js version
nvm install 18Install Node.js version 18
nvm use 18Switch to Node.js version 18
nvm lsList installed Node.js versions
nvm alias default 18Set default Node.js version
node my_script.jsRun a Node.js script
node -vShow Node.js version
npm init -yInitialize a new Node.js project
npm installInstall all dependencies listed in package.json
npm install [package_name]Install a specific package
npm install -g [package_name]Install a package globally
npm startRun the 'start' script defined in package.json
Get new cheatsheets & tools in your inbox
No spam — just new releases, occasionally.