Jump to content

Topic on Project:Support desk

Line 1: Line 1:
> wget -cO - <nowiki>https://getcomposer.org/composer-2.phar</nowiki> > composer.phar
> wget -cO - <nowiki>https://getcomposer.org/composer-2.phar</nowiki> > composer.phar


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


If you run <code>which composer</code>, 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.
If you run <code>which composer</code>, 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.