composer directory linux code example
Example 1: upgrade composer version
composer self-update
Example 2: composer install one line
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
composer self-update
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer