Answers for "You should upgrade to Composer 2"

8

upgrade composer version

composer self-update
Posted by: Guest on October-02-2020
0

composer upgrade to 2

run which composer (output /usr/bin/composer)
run php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
run sudo php composer-setup.php --install-dir=/usr/bin --filename=composer
Posted by: Guest on December-22-2020
0

upgrade to composer 2 windows

If going from version 1 to 2 use composer self-update --2
Posted by: Guest on August-28-2021
0

upgrade composer

To update composer command just find location of composer.phar and update as:
 where composer 	#Retrieves you location of your composer.phar
 cd path_to_composer.phar #Move to directory with composer.phar
 php composer.phar self-update	#Update your composer
Posted by: Guest on November-14-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language