Sometime you need to change composer verison to specific version to meet setup requirement

sudo curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer --version=1.10.16