I am trying to update composer with no luck!
What I have tried:
$ composer self-update
[InvalidArgumentException]
I've installed brew and it saves me a lot. Install brew then brew install composer to install the composer.
brew install composer