I'm trying to install the config github-oauth.github.com <token> in composer.json
1 . If I enter the command as indicated in the official documentation ( https://getcomposer.org/doc/articles/troubleshooting.md ):
composer config -g github-oauth.github.com <my_token>
displays a syntax error.
2 If they write like this:
composer config -g github-oauth.github.com my_token
then how the command passes, but nothing happens, even if you execute the commands:
composer install
composer update
3 If I write this:
composer config github-oauth.github.com my_token
This creates an auth.json file, where the token itself is written.
Question : Tell me why it does not work as it is written in the official documentation, that is, like this:
composer config -g github-oauth.github.com <мой_токен> или composer config -g github-oauth.github.com мой_токен