Table of Contents

NPM Cheat Sheet

Searchable NPM package repository: https://www.npmjs.com/

Update All Node Modules

(e.g., in a React or Angular project)

cd project_root
 
npm install

Install Specific Node Package

(e.g., in a React or Angular project)

cd project_root
 
npm install package_name

package_name will be added to the project's package.json file.

Install Node.js