Skip to content

Document Composer installation #4

@matthewpizza

Description

@matthewpizza

OS X / Linux

https://getcomposer.org/doc/00-intro.md#installation-nix

Install with composer shortcut (instead of php composer.phar).

User account

cd $HOME ; curl -sS https://getcomposer.org/installer | php ; echo -e "\n# Composer\nalias composer=\"php \$HOME/composer.phar\"" >> $HOME/.bash_profile ; source $HOME/.bash_profile

Installs Composer and adds alias to .bash_profile.

System wide

curl -sS https://getcomposer.org/installer | php ; mv composer.phar /usr/local/bin/composer

May require sudo


Windows install

https://getcomposer.org/doc/00-intro.md#installation-windows

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions