I am using Windows 10 and composer is installed. When I try to install laravel installer globally using this command:
composer
laravel
composer global r
To resolve this, configure composer to use the https repository by running the following command on the cli before installing Laravel
composer config -g repo.packagist composer https://packagist.org