Global php composer install or update

Installing or updating a global installed composer can be a PITA if you don’t want to rely on the Linux distro
An easy way is:

curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/bin --filename=composer

Leave a Reply

Your email address will not be published. Required fields are marked *