install particular version of laravel

Shell
composer create-project laravel/laravel="5.1.*" myProject
Source

Also in Shell: