Jump to content

Topic on Project:Support desk

> wget -cO - https://getcomposer.org/composer-2.phar > composer.phar

This only downloads composer to your local directory, which might not be in your PATH.

If you run which composer, it will tell you where your current composer version is located. You can either copy composer to that location OR it might be that your composer is actually provided by some sort of package management system like homebrew, rpm etc.. In that last case, refer to the documentation of your package manager to see how to properly update the package that is providing your composer version.