Today now in this post i want to show you How we can install composer by using command line in ubuntu ? By using Composer we can easily get packages from the git and use it in our project. But we need to install composer in our system for getting the packages. We can easily get any packages for the core PHP, Laravel, codeigniter etc.
So, If we are working on ubuntu OS and we need to install composer then in this post i will help you quickly install composer by using terminal command line in your ubuntu system.
At First need to Open our terminal and then need to fire the bellow three commands, i listed just three command for install composer, we need to just run one by one:
curl -sS https://getcomposer.org/installer | php sudo mv composer.phar /usr/local/bin/composer sudo chmod +x /usr/local/bin/composer
After the above command run successfully we can check this by following command:
Thanks for read. I hope it help you. For more you can follow us on facebook