1
0
Fork 0
pull/9615/head
Jordi Boggiano 2021-01-12 16:19:29 +01:00
parent dc759a69b5
commit 738a89ffe1
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
2 changed files with 3 additions and 2 deletions

View File

@ -943,6 +943,8 @@ The `COMPOSER_HOME` var allows you to change the Composer home directory. This
is a hidden, global (per-user on the machine) directory that is shared between is a hidden, global (per-user on the machine) directory that is shared between
all projects. all projects.
Use `composer config --global home` to see the location of the home directory.
By default, it points to `C:\Users\<user>\AppData\Roaming\Composer` on Windows By default, it points to `C:\Users\<user>\AppData\Roaming\Composer` on Windows
and `/Users/<user>/.composer` on macOS. On \*nix systems that follow the [XDG Base and `/Users/<user>/.composer` on macOS. On \*nix systems that follow the [XDG Base
Directory Specifications](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html), Directory Specifications](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html),

View File

@ -80,10 +80,9 @@ To fix this you need to open the file in an editor and fix the error. To find th
your global `auth.json`, execute: your global `auth.json`, execute:
```sh ```sh
composer config --global --list composer config --global home
``` ```
And look for the `[home]` section. (It is by default `~/.composer` or `%APPDATA%/Composer` on Windows)
The folder will contain your global `auth.json` if it exists. The folder will contain your global `auth.json` if it exists.
You can open this file in your favorite editor and fix the error. You can open this file in your favorite editor and fix the error.