What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-30 07:43:02
install composer on linux
# The following method has been tested on Ubuntu 20.04 # But i think it should work fine with any other distribution # Ensure you're on Desktop, to prevent issues with permissions cd ~/Desktop # Download the installer script php -r "copy('https://g... Add solution -
Shell/Bash 2021-08-29 12:45:02
upgrading composer globally on windows
php composer.phar self-update Add solution -
Shell/Bash 2021-08-28 18:24:02
ubuntu install composer
sudo apt update sudo apt install php-cli unzip cd ~ curl -sS https://getcomposer.org/installer -o composer-setup.php HASH=`curl -sS https://composer.github.io/installer.sig` echo $HASH php -r "if (hash_file('SHA384', 'composer-setup.php') === '$HASH... Add solution -
Shell/Bash 2021-08-28 15:13:02
composer upgrade to 2
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 Add solution
Best helpers
Amine
+5
Asgs
+5
Jboeke
+5
Frank Gado
+5
Jim MacA
+5
Lightalloy
+5
PeterSalz
+5
Altendky
+5
Faerubin
+5
David Baucum
+5
Ravin Online
+5
Xemnarth
+5
Withkare
+5
DSM
+5
Njbair
+5
Troy Woo
+5