Composer 2Ubuntu 20.04

Composer 2: How to Install in Ubuntu 20.04 LTS

1 Mins read

Download and Install Composer

cd ~
curl -sS https://getcomposer.org/installer -o composer-setup.php
  • To install composer globally, use the following command which will download and install Composer as a system-wide command named composer, under /usr/local/bin:
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer

How to Check Composer is installed or not ?

composer
How to Install Composer 2 in Ubuntu 18.04
How to Install Composer 2 in Ubuntu 20.10

If you see this screen, you have successfully installed composer in your system.

Please let me know in the comment section below if you are facing any error.

Related posts
Magento 2NGINXUbuntu 20.04

Install Magento 2.4 in Ubuntu 20.04 with NGINX

8 Mins read
Composer 2Ubuntu 18.04Ubuntu 20.04Ubuntu 20.10

How to Update or Upgrade Composer Version in Ubuntu

1 Mins read
PythonUbuntu 20.04

Python 3.9: как установить в Ubuntu 20.04

1 Mins read
Join our bi-weekly newsletter to stay informed!

1 Comment

Leave a Reply

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