Composer Install


#1

So I found an answer on here but can’t get it to work.

Right-click on the site and go to “Open Site SSH”
Enter apt-get update && apt-get install -y curl
Enter curl -sS https://getcomposer.org/installer | php – --install-dir=/usr/local/bin --filename=composer
After that, you can immediately use composer

This command worked fine (apt-get update && apt-get install -y curl)
When I enter the next command I get (command not found)

Anybody know what I’m doing wrong?


#2

use this instead:

curl -sS https://getcomposer.org/installer | php – --install-dir=/usr/local/bin --filename=composer