1
0
Fork 0

Fix windows setup instructions, fixes #1262

pull/1266/merge
Jordi Boggiano 2012-10-26 00:50:39 +02:00
parent 85bbf99817
commit e90955b8b9
1 changed files with 5 additions and 4 deletions

View File

@ -88,20 +88,21 @@ just call `composer` from any directory in your command line.
### Manual Installation
Change to a directory on your `PATH`
Change to a directory on your `PATH` and run the install snippet to download
composer.phar:
C:\Users\username>cd C:\bin
C:\bin>php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));"
Create a new `.BAT` file alongside composer
Create a new `.bat` file alongside composer:
C:\bin>notepad composer.bat
Paste the following:
Paste the following in, it simply proxies all arguments to composer:
@ECHO OFF
SET composerScript=composer.phar
php %~dp0%composerScript% %*
php "%~dp0%composerScript%" %*
Save the file. Close your current terminal. Test usage with a new terminal: