houpingguo
houpingguo

Reputation: 1

composer --version no response crashed

On mac pro:

  1. With this command:

    curl -sS https://getcomposer.org/installer | php

I get no response.

  1. I only get it from:

    https://getcomposer.org/download/

And following instructions:

sudo mv pwd/composer.phar  /usr/local/bin

=> composer has been in the folder(./bin)

But in a terminal:

composer --version     
composer --help

No response and no error

Any idea?

Upvotes: 0

Views: 377

Answers (1)

Maxim
Maxim

Reputation: 2391

Follow this instruction https://getcomposer.org/doc/00-intro.md#installation-linux-unix-macos. Also check that file /usr/local/bin/composer has permission execute by ls -la /usr/local/bin/ if not then use sudo chmod u+x /usr/local/bin/composer

Upvotes: 0

Related Questions