having trouble installing composer

后端 未结 6 1252
你的背包
你的背包 2020-12-24 01:59

I am installing composer with the following cammand

curl -s https://getcomposer.org/installer | php

But I am keep getting below err

6条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-24 02:43

    In case if you dont have curl in your system, you can still install composer using the following command

    Go to a directory where you can write,

    cd yourDirectory
    
    php -r "readfile('https://getcomposer.org/installer');" | php -d detect_unicode=off
    

提交回复
热议问题