Where is composer's global auth.json located?

Viewed 13828

Where is the global auth.json from composer located on linux?

1 Answers

Composer global files can usually be found at your home directory:

In a *nix system that is:

~/.composer

auth.json should be in there as well.

In a more general sense, on any system, you should be able to find this by executing:

composer config --list --global

or

composer global config --list

Look for the home key.

On my system, doing.

composer config --list --global | grep home

results in:

[home] /Users/yivi/.composer
Related