Topic on Project:Support desk
This is a permanent link to a single version of this post.
This version is from 27 days ago.
You can see the differences from the previous version, or view other versions on the post history page.
> 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.