If composer is in usr folder - command to remove it from there
rm /usr/local/bin/composer
Reinstall with the specific version
First step -> sudo apt-get update
Second step ->sudo apt-get install curl php5-cli git
Third step -> curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer --version=1.10.12
Check Composer using below command
composer
Comments
Post a Comment