Search code examples
phpcmdcomposer-phpwamp

Windows 8: .phar files, how do you want to open


I'm trying to run composer on windows with wamp. I installed composer using the cmd prompt, and now I'm trying to run "composer update" for an SDK. However, when I type in "composer.phar update," windows asks what app I want to use to run this program. I want the command prompt to deal with it! How do I just run it through cmd, without this "what app" window coming up?


Solution

  • You have to set php.exe as your default application for phar files.