Downgrade composer from 2.x to 1.x via brew

Show available versions of composer:

brew log composer

Let’s downgrade

composer self-update 1.10.15

To switch back to the 2.x version use

composer self-update --rollback

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sascha Eggenberger

Sascha Eggenberger

Sascha Eggenberger. Senior Product Designer @GitLab. Drupal Core Maintainer. Drupal Design System, Claro, Gin. #OpenSource https://sascha.is/