Download and Install Composer
curl -sS https://getcomposer.org/installer -o composer-setup.php
- To install
composerglobally, use the following command which will download and install Composer as a system-wide command named
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer
How to Check Composer is installed or not ?
If you see this screen, you have successfully installed composer in your system.
Please let me know in the comment section below if you are facing any error.