
Npm prune: Removes packages that are no longer listed in dependencies, devDependencies, or optionalDependencies in package.json. Npm uninstall : Uninstalls a package and removes it from dependencies, devDependencies, or optionalDependencies in package.json. Npm update: Updates all packages to their latest version.


Npm update : Updates a package to the latest version. no-save: Installs a package without adding it to dependencies, devDependencies, or optionalDependencies in package.json. only=production: Installs only the packages listed in dependencies. only=dev: Installs only the packages listed in devDependencies. save-optional: Installs a package and adds it to the optionalDependencies section of package.json. save-dev: Installs a package and adds it to the devDependencies section of package.json.

Npm install : Installs a package and adds it to the dependencies section of package.json. Npm init: Initializes a new npm project in the current directory and creates a package.json file. No intro needed here, I'll get straight to the point.
