Reputation: 43
I try to install Composer (downloaded from https://getcomposer.org/download/) on Windows 10, but I get the following error message: The installation directory "C:\Users\BAB2~1\AppData\Local\Temp\is-5EP2P.tmp" is not writable.
Composer Installation Error
I have given full access to this directory, but it doesn't help. Could you please suggest any ways to solve this problem.
Upvotes: 2
Views: 5999
Reputation: 41786
composer.phar
file into your PHP folderphp
everywhere)
PATH
variablephp composer.phar
for testing. you should get Composer's help outputcreate a little batch file composer.bat
to invoke composer easier:
C:\PHP> echo @php "%~dp0composer.phar" %*>composer.bat
This enables you to run composer
in any PHP project folder.
Upvotes: 5