Sign in
Log inSign up

How to install packages in package.json?

Rahul Bisht's photo
Rahul Bisht
·Feb 6, 2018

I want to install npm package globally & list it in package.json too.

npm install <package name> --save lists package in package.json but installs in local folder.

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct