To downgrade composer to version 1 the following command should be used:
$ composer self-update --1
web development and system administration of Linux
To downgrade composer to version 1 the following command should be used:
$ composer self-update --1