NodeJS

Saturday, November 14, 2020

npm global package

For Current user:
list all:
npm list -g --depth 0
install:
npm install -g packagename
uninstall:
npm uninstall -g packagename

For root
sudo npm list -g --depth 0
Posted by Tecknovice at 6:30 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Tecknovice
View my complete profile

Blog Archive

  • ►  2021 (1)
    • ►  January (1)
  • ▼  2020 (23)
    • ►  December (3)
    • ▼  November (8)
      • Reading and Writing CSV Files with Node.js
      • Production Best Practices: Security
      • Production best practices: performance and reliabi...
      • Node.js Best Practices
      • Node.js Architecture and 12 Best Practices for Nod...
      • yarn global package
      • npm global package
      • Working with Environment Variables in Node.js
    • ►  October (3)
    • ►  September (7)
    • ►  January (2)
  • ►  2019 (4)
    • ►  August (2)
    • ►  July (2)
  • ►  2018 (8)
    • ►  September (1)
    • ►  May (7)
  • ►  2017 (9)
    • ►  May (8)
    • ►  April (1)
Simple theme. Powered by Blogger.