Jump to content

About installing NPM packages using terminal.

mrchow19910319
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

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

×