This is an old revision of the document!
The global configuration can be listed with:
composer config -g -l
or edited manually with:
composer config -g -e
Adding a repository can be performed on the command line with:
composer config -g repositories.REPOSITORY composer REPOSITORY_URL
where:
REPOSITORY
is the repository name and,REPOSITORY_URL
is the URL to the repository