Legacybeta
Published in

Legacybeta

Composer Install Options

https://icons8.com

Homebrew on macOS

brew install composer
composer --version

Local installation

php composer.phar
./composer.phar
chmod +x composer.phar

Global installation on Linux or macOS

sudo mv composer.phar /usr/local/bin/composer
wget https://getcomposer.org/composer-stable.phar -O composer.phar
chmow +x composer.phar
sudo mv composer.phar /usr/local/bin/composer
composer

Global installation on Windows

composer
Error: 'composer' is not recognized

Conclusion

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store