问答详情
源自:1-3 Composer中国全量镜像

composer config -g repo.packagist

d:\wamp64\bin\php\php5.6.25>composer config -g repo.packagist

  [Symfony\Component\Console\Exception\RuntimeException]

  The "-?" option does not exist.

config [-g|--global] [-e|--editor] [-a|--auth] [--unset] [-l|--list] [-f|--file FILE] [--absolute] [--] [<setting-key>] [<setting-value>]...


提问者:asteriaGirl 2018-09-13 14:23

个回答

  • 清风不问烟雨
    2018-09-13 22:48:25

    命令错误

    应该为:composer config -gl