Composer Install


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 | 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?


use this instead:

curl -sS | php – --install-dir=/usr/local/bin --filename=composer