How to Install Composer on Linux

There are several steps that need to be taken in order to install and use Composer through the terminal emulator of a Linux machine:

1. Downloading the current / desired version of Composer:


Composer is being updated regularly and the above lines will download the latest version for the moment – 1.6.2. In order to be sure that you are getting the latest version, you can use this command:

cPanel Hosting from WebhostFace

2. Making the downloaded file executable and placing it in the PATH so we can use it through the terminal:

chmod +x ./composer.phar 
mv ./composer.phar /usr/bin/composer

3. After this is done Composer should be available through the terminal, this can be verified by running:

composer --version
which composer

Start your online project with our Laravel Hosting packages and benefit from easy Composer Installation and guidelines. Now with a new great price as we all know how important is to start your new project without investing a large amount of money!