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
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