This following article provides all the useful and required npm commands for the developers.

Initialize npm

npm init

Install a package

npm i <package_name>

Remove the node_modules folder.

rm -rf node_modules

Clear npm cache

npm cache clean --force
Last Update: December 22, 2024
August 19, 2024 127 Mahbub Alam KhanGeneral, Npm
Total 0 Votes
0

Tell us how can we improve this post?

+ = Verify Human or Spambot ?

Back To Top