Reputation: 8995
I have entered this in CMD
COMPOSER_PROCESS_TIMEOUT=9999 php composer.phar install
I think the above command will install Compser with the given timeout settings. However it gives error: 'COMPOSER_PROCESS_TIMEOUT' is not recognized as an internal or external command, operable program or batch file.
Then I will run
composer create-project laravel/laravel --prefer-dist
Upvotes: 4
Views: 4501
Reputation: 47284
In Windows you need to set
the variable:
set "COMPOSER_PROCESS_TIMEOUT=9999" php composer.phar install
Enclosing in quotes is required.
Upvotes: 5