4

I have installed webpack on Ubuntu using following command on terminal

npm install -g webpack

How to install same on Windows?

Mayank Sethi
  • 197
  • 1
  • 1
  • 10

3 Answers3

6

There's no difference. You can run the exact same command in Windows, assuming you have NPM installed. If you don't, follow this link to download and install it.

Koby Douek
  • 16,156
  • 19
  • 74
  • 103
2

It is the same on windows, but you will need to have npm in your windows machine. npm commands works the same way on windows and linux machine. If you want to install globally, use the flag "-g".

Manish Kakati
  • 657
  • 5
  • 12
0

In Cmder with chocolatey:

choco install nodejs
npm install -g webpack

Or if you want to have a zsh experience, install ubuntu from the windows store

Jonathan
  • 6,741
  • 7
  • 52
  • 69