Answers for "update composer using cmd"

8

upgrade composer version

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

update packages composer global

composer global update
Posted by: Guest on September-03-2020
1

update composer php version

php7.3 -f /usr/local/bin/composer update
Posted by: Guest on September-28-2020
0

update 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