install webpack

Shell
npm install --save-dev webpack
# or specific version
npm install --save-dev webpack@<version>npm install --save-dev webpack-cliyarn add webpack --devnpm i npm-install-webpack-pluginnpm install --save-dev webpack
Source

Also in Shell: