composer global require laravel/installer 7.0 code example
Example: installing laravel 8
composer create-project --prefer-dist laravel/laravel ProjectName dev-develop
composer create-project --prefer-dist laravel/laravel ProjectName dev-develop