Skip to content

Instantly share code, notes, and snippets.

@djamol
Created November 27, 2023 08:18
Show Gist options
  • Save djamol/440bb439d34fd5938e2c527dc64a854f to your computer and use it in GitHub Desktop.
Save djamol/440bb439d34fd5938e2c527dc64a854f to your computer and use it in GitHub Desktop.
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
# Compile Composer with PHP Version
php composer-setup.php --install-dir=/usr/local/bin --filename=composer
# then install/createFile composer.phar
curl -sS https://getcomposer.org/installer |php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment