How to install Composer in CentOs

0
1036
views
  1. Change directory to tmp.cd /tmp
  2. Download the composer.phar file.curl -sS https://getcomposer.org/installer | php
  3. Move to bin.mv composer.phar /usr/local/bin/composer
  4. To run composer anywhere, create the alias. alias composer='/usr/local/bin/composer'
  5. Try to execute.composer -v

LEAVE A REPLY

Please enter your name here
Please enter your comment!