npm install webpack

Shell
npm install --save-dev webpacknpm install --save-dev webpack-cliyarn add webpack --dev
Source

Also in Shell: