bogon:~ apple$ composer config -g repo.packagist
[InvalidArgumentException]
There is no packagist repository defined
config [-g|--global] [-e|--editor] [-a|--auth] [--unset] [-l|--list] [-f|--file FILE] [--absolute] [--] [<setting-key>] [<setting-value>]...
bogon:~ apple$ composer config -g repo.packagist composer https://packagist.phpcomposer.com
bogon:~ apple$ composer config -g repo.packagist
[InvalidArgumentException]
There is no packagist repository defined
config [-g|--global] [-e|--editor] [-a|--auth] [--unset] [-l|--list] [-f|--file FILE] [--absolute] [--] [<setting-key>] [<setting-value>]...
bogon:~ apple$ config -gl
-bash: config: command not found
bogon:~ apple$ composer config -g repo.packagist composer https://packagist.phpcomposer.com
bogon:~ apple$ composer config -g repo.packagist
[InvalidArgumentException]
There is no packagist repository defined
config [-g|--global] [-e|--editor] [-a|--auth] [--unset] [-l|--list] [-f|--file FILE] [--absolute] [--] [<setting-key>] [<setting-value>]...
bogon:~ apple$ composer config -g repo.packagist composer https://packagist.phpcomposer.com
bogon:~ apple$ config -gl
-bash: config: command not found
bogon:~ apple$
在mac操作系统下我在命令行里输入相应命令时请问我这边怎么都是 not found呀?都找不到这个东西存在。是不是哪里没配置好还是怎么滴?帮忙帮忙呀!
xiexie !