Topic on Project:Support desk
This page shows the changes between two versions of a post by TheDJ in the topic "how to get composer version 2" on Project:Support desk.
You can see other versions of this post at its history page.
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 |
||
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. |