How to install composer using command line in ubuntu ?

How to install composer using command line in ubuntu ?

In this post we will give you information about How to install composer using command line in ubuntu ?. Hear we will give you detail about How to install composer using command line in ubuntu ?And how to use it also give you demo for it if it is necessary.

Composer through we can get packages from git and use it in our project. But you require to install composer in your system for getting packages. You can get packages for core PHP, Laravel, codeigniter etc.

So, If you are working on ubuntu OS and you require to install composer then this post will help you quickly install composer using terminal command line in your ubuntu system.

First Open your terminal and fire bellow three commands, i listed just three command to install composer, you have 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 above command run successfully you can check by following command:

composer

You can see your terminal layout look like as bellow screenshot:

Preview:

I hope it can help you…

Hope this code and post will helped you for implement How to install composer using command line in ubuntu ?. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve us. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs

For More Info See :: laravel And github

Leave a Comment

Your email address will not be published. Required fields are marked *

3  +  4  =  

We accept paid advance and paid guest Posting on our Site : Contact US