I'm trying to update the global composer but I can't do it.
I think I can do composer init
and then make php composer.phar update
but I prefer to update the global composer. If I run the latter, I get:
composer could not find a composer.json file
How can I make it? I try to find the composer files of installation and I can't find them and also I try to find information using composer
but nothing.