sudo npm install on Windows?

Asked

Viewed 551 times

-1

I use the command - sudo npm install - on mac.

What is the equivalent of this command in Windows?

runes?

I am installing a library on my local server and need to run this command.

  • My question referred to how to install Gulp.js on Windows. I installed Node.js from https://nodejs.org/en/. I ran Powershell as Administrator and used the command: npm install Gulp-cli -g , or installed Gulp.js globally. I thank Tiago NET who helped me with the beginning of the answer.

1 answer

0


To install anything using npm in windows is as follows:

npm install <pacote> - instala o pacote localmente

npm install -g <pacote> - instala o pacote globalmente

Now these runes I believe to be Run As that translating would be Run As or Run as.

I hope I’ve helped

  • Thank you, Tiago NET.

  • 1

    I installed Node.js from https://nodejs.org/en/. .

Browser other questions tagged

You are not signed in. Login or sign up in order to post.