ilhan
ilhan

Reputation: 8995

How to use COMPOSER_PROCESS_TIMEOUT?

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

Answers (1)

l'L'l
l'L'l

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

Related Questions