Wednesday, March 2, 2022

[FIXED] Where is composer's global auth.json located?

Issue

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


Solution

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


Answered By - yivi

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.