how to fix [RuntimeException] composer install getting error

composer install with drush Runtime exception

How to fix composer install getting an error [RuntimeException]


Failed to clone, git was not found, check that it is installed and in your PATH env.

this error composer says Git not found to fix the error you need to install Git.

ubuntu 14.04 / 16.04

# sudo apt-get install git

how to install composer with drush

Centos 6 / 7

# sudo yum install -y git

composer installation error

Error Fixed

Install composer with drush globally

Blog type: 

Add new comment

Authored By

Sandeep Gurjar

Hy all, This is Sandeep Gurjar am the founder of I am a Redhat Certified Engineer (RHCE) / AWS Solutions Architect-Associate and working as an system administrator since 2016.

Follow us on

Facebook​  Twitter  LinkedIn  Google+