composer create-project --prefer-dist laravel/laravel with version code example Example: laravel install composer global require laravel/installer