Changed current directory to /root/.composer
Do not run Composer as root/super user! See https://getcomposer.org/root for details
[RuntimeException]
No composer.json present in the current directory, this may be the cause of the following exception.
[InvalidArgumentException]
Package hirak/prestissimo at version has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version
installs composer in version 2. But some projects still need version 1. If someone need to back to version 1 please add --1 this line or follow official instructions about programmatically installation https://getcomposer.org/doc/faqs/how-to-install-composer-programmatically.md
Maybe You can add some variable for this problem?