How To Upgrade Composer Version In Ubuntu?

PHP 8 , Laravel 8 , Laravel 7 , Windows , Laravel , PHP , Laravel 6

Nicesnippets

04-12-2021


How To Upgrade Composer Version In Ubuntu?

Hi Dev,

Many legacy projects require a dependency that still running on upgrade composer Version.

This is the example of is how to upgrade composer Version.

In this short post, you'll learn how to upgrade composer Version.

Let's Start Solution Following Command.

Command : 1


rm /usr/local/bin/composer

Command : 2

curl -sS https://getcomposer.org/installer | sudo php

Command : 3

sudo mv composer.phar /usr/local/bin/composer

I hope it help you...