Global Installation of Composer (manual)

Siddharth Shukla
1 min readFeb 10, 2020

--

As described on the Composer website:

curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer

Manual Method

you can run easier way to globally install composer than the manual proscribed in the github readme.md. It's actually on the getcomposer.org website:

curl -s http://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/

And you can try this way also, create an alias:

alias composer='/usr/local/bin/composer.phar'

Read More: https://realprogrammer.in/global-installation-of-composer-manual/

--

--

Siddharth Shukla
Siddharth Shukla

Written by Siddharth Shukla

I'm a Full Stack Engineer based in India ☀️, working at Kreativ Street. I'm a coding passion focused on Python, specifically Laravel & Django.

No responses yet