How I can use composer as global?

Hello!

I know about php ~/.composer/composer -v, but how I can use composer global without path php ~/.composer/composer? I want call just as composer -v, is it possible?

And how I can upgrade composer version later?

Thanks.

1 Like

Download composer in /usr/bin/ and give it execution rights

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.