Skip to content

Navigation Menu

Sign up

Manual installation

johnstevenson edited this page Oct 10, 2012 · 23 revisions

Contents

The Basics

The goal is to download Composer to a single directory and set things up so you can run it from any location by typing: composer into a command window. This is what the Composer-Setup installer does automatically, but you can achieve the same in a few simple steps.

Command line PHP

Composer is a PHP script that runs from the command line, through the PHP CLI (Command Line Interpreter). You can run this by typing path\to\my\php.exe -v, which will display the version of PHP that you are using. But it is much simpler to type php -v. If this works for you then you are done, otherwise you must add the directory containing php.exe to your path environment variable - there are plenty of online tutorials.

As an alternative to the standard command window, Console is an open-source alternative that lets you open multiple tabs. Each can be configured to start in a directory that you choose.

Downloading Composer

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /