Skip to content

Instantly share code, notes, and snippets.

@VTacius
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VTacius/4b9ed8b1deee1ecdfb04 to your computer and use it in GitHub Desktop.
Save VTacius/4b9ed8b1deee1ecdfb04 to your computer and use it in GitHub Desktop.
Instalando composer en el sistema con php

Usar php requerirá tener instalado php5-openssl para bajar el fichero desde la página, y la extensión phar para que se configure:

$ aptitude install php5-openssl php5-phar

Luego, bastará con el siguiente comando

$ php -r "readfile('https://getcomposer.org/installer');" | php -- --install-dir=/usr/bin --filename=composer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment