How to install composer on CentOS
Install Composer on CentOS
Composer is a dependency management tool for Php. Let us know how to install composer on CentOS
In order to do this, first you need to change the working directory to /tmp
cd /tmp
Now we must download the composer file using the command
curl -sS getcomposer.org/installer | php
After downloading, we have to move it to the folder /usr/local/bin
mv composer.phar /usr/local/bin/composer
This completes the installation of composer globally on your CentOS system. You can verify the installation by hitting
composer
on CLI, which returns the version of the composer installed on the PC
composer,centos,linux
Comments for this post