Merge pull request #1537 from hakre/patch-1
Updated Windows manual installation guidepull/1541/head
commit
710f91c1e3
|
@ -108,15 +108,9 @@ composer.phar:
|
||||||
|
|
||||||
Create a new `.bat` file alongside composer:
|
Create a new `.bat` file alongside composer:
|
||||||
|
|
||||||
C:\bin>notepad composer.bat
|
C:\bin>echo @php "%~dp0composer.phar" %*>composer.bat
|
||||||
|
|
||||||
Paste the following in, it simply proxies all arguments to composer:
|
Close your current terminal. Test usage with a new terminal:
|
||||||
|
|
||||||
@ECHO OFF
|
|
||||||
SET composerScript=composer.phar
|
|
||||||
php "%~dp0%composerScript%" %*
|
|
||||||
|
|
||||||
Save the file. Close your current terminal. Test usage with a new terminal:
|
|
||||||
|
|
||||||
C:\Users\username>composer -V
|
C:\Users\username>composer -V
|
||||||
Composer version 27d8904
|
Composer version 27d8904
|
||||||
|
|
Loading…
Reference in New Issue