Generally, when I install Composer, I usually do this:
curl -sS https://getcomposer.org/installer | php
It downloads a file called composer.phar
. But then I have to keep putting the folder path all the time I'm going to execute.
For example:
~/downloads/composer.phar
I'd like to do this simply on the command line:
composer self-update && composer update
How can I do this in Linux?