installing webpack and webpack-dev-server globally code example Example: npm dev server $ npm install dev-server -g