Mohamed Amine wrote a nice tutorial on how to install Webpack in Laravel 5.

laravel webpack