Clear the Composer cache
How to clear the Composer cache via command line.
Delete/Clear Composer cache:
~/composer clear-cache
If the above command does not work correctly, it is also possible to clear the cache manually:
rm -rf ~/.composer/cache/*