Issue
I put composer.phar in /usr/bin and I then created /usr/bin/composer with php /usr/bin/composer.phar $@
and then when I try to run composer
I get the following:
No command 'composer' found, did you mean:
Command 'compose' from package 'mime-support' (main)
composer: command not found
Any ideas?
Solution
Use symlink:
ln -s ~/composer.phar /usr/bin/composer
chmod +x ~/composer.phar
Answered By - Anatoly Rugalev
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.