yarn install webpack globally code example Example: webpack install npm install --save-dev webpack-cli