9
rated 0 times
[
9]
[
0]
/ answers: 1 / hits: 3496
/ 1 Year ago, sun, february 26, 2023, 8:17:40
I was facing some issue today when trying to install composer with the below command:
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
It was giving me this error:
curl: (7) Failed to connect to getcomposer.org port 443: Network is unreachable
I googled and found this command:
echo ipv4 >> ~/.curlrc
I ran this and it fixed the problem and composer installed just fine.
But I don't know what the above command does, could anyone explain it?
More From » command-line