Where does npm install -g install packages?

By | August 8, 2021

On OSX, running the npm global install command installs the packages at

/usr/local/lib/node_modules

If you leave out the global flag (-g), the packages get installed in the current directory you are in.

Leave a Reply

Your email address will not be published. Required fields are marked *