Jump to content

Topic on Project:Support desk

how to get composer version 2

3
2003:C2:3F30:C500:51EA:F41C:E2B2:F470 (talkcontribs)

MW 1.39.6 - Php 7.4.3

Looking at: Composer

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

checking version: composer --version

result: Composer 1.10.1 2020-03-13 20:34:27


And now?

TheDJ (talkcontribs)

> 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.

2003:C2:3F30:C500:5153:CA0C:1C8D:7449 (talkcontribs)

That's it! There has been another composer installed that I didn't know. Thank you.

Reply to "how to get composer version 2"