0

I'm trying to run laravel and keeps returning command not found I'm using the latest version of composer and laravel today. I think is laravel 5.7 and composer 1.7.2

I added export PATH=/home/myuser/.composer/vendor/bin:$PATH to the .bash_profile to .bahs_profile.

Than I ran source ~/.bash_profile

Any ideia on troubleshooting?

I've looked all over stackoverflow and google nothing!

5
  • You can explicitly specify where is php and where is composer by /path/to/php /path/to/composer ... Commented Sep 28, 2018 at 17:01
  • For PHP /usr/bin/php and for composer /usr/local/bin/composer Commented Sep 28, 2018 at 17:15
  • 1
    Possible duplicate of Laravel PHP Command Not Found Commented Sep 28, 2018 at 19:04
  • Alternatively use composer create-project laravel/laravel my-project Commented Oct 2, 2018 at 15:13
  • @rob006 I already check all solutions in that thread! :( Commented Oct 2, 2018 at 18:07

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.