Change into a directory in your path like cd /usr/local/bin
Get Composer curl -sS https://getcomposer.org/installer | php
Make the phar executable chmod a+x composer.phar
Change into a project directory cd /path/to/my/project
Use Composer as you normally would composer.phar install
Optionally you can rename the composer.phar to composer to make it easier
if storage permission denied
You can input command that
1、find storage -type d -exec chmod 777 {} \;
2、find storage -type f -exec chmod 777 {} \;