From e90955b8b9872117f0741e4fa4a95c47c28c573d Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 26 Oct 2012 00:50:39 +0200 Subject: [PATCH] Fix windows setup instructions, fixes #1262 --- doc/00-intro.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/00-intro.md b/doc/00-intro.md index e27825068..5b96b09c9 100644 --- a/doc/00-intro.md +++ b/doc/00-intro.md @@ -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: