Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

About installing NPM packages using terminal.

mrchow19910319
 Share

Go to solution Solved by duncannah,

yes

Is it true that if we install something globally, we do not need to care about the current folder we are in? 

 

To put it in a more specific way, lets say that I run this command: npm install -g. 

I knew it is a global installation of npm, so does it matter whether the folder I was currently in was root folder? or any other folder? 

Is it that as long as we have -g at the end of it, it will always be installed into root folder? 

 

Sorry for newbie question. 

Thanks.

If it is not broken, let's fix till it is. 

Link to comment
Share on other sites

Link to post
Share on other sites

yes

Intel Core i3-10100 - Gigabyte Z490M - HyperX DDR4 16GB  - 500W - 1x 1080p - macOS 12 Monterey, Windows 11

Intel Core i5-4210U - Acer Aspire E5-573G - 8GB - 768p - macOS 11 Big Sur, Windows 11
iPhone 12 - iOS 15

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×