//ads:
?>
How to downgrade or install a specific version of Composer?
PHP Snippet 1:
composer self-update 1.10.14
PHP Snippet 2:
sudo -H composer self-update 1.10.14
PHP Snippet 3:
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --1
PHP Snippet 4:
composer self-update 1.10.12
composer self-update 2.0.7
PHP Snippet 5:
composer self-update --1 or 2