Update Composer In Ubuntu

 sudo apt-get remove composer -y

php -r “copy(‘https://getcomposer.org/installer’, ‘composer-setup.php’);”

php composer-setup.php –install-dir=/usr/bin –filename=composer

composer self-update

Leave a Reply