Ubuntu - Install Composer
Manual Installation (Current Preferred)
Install composer manually with the chained command below to ensure you have the latest version, which you may need to do if you are using PHP 8.
Alternatively you can install through prog-exec:
Native Packages
You can now install composer using the local ubuntu packages with:
Now you can run all the composer commands from any directory, such as:
Last updated: 28th February 2022
First published: 16th August 2018
First published: 16th August 2018