Question:
So I know there are alot of simmular issues but none if them are exactly the same,I want to start my first laravel project but, my terminal tells me command not found,
I installed composer from the website and when I run composer I can see that it works perfectally with no issue, when running
composer global require "laravel/installer"
I get this in response :laravel
the response is laravel: command not found
,I have added composer to my $PATH already.
This is why I am posting this issue because all the posts I find says to add composer to your $PATH but mine is already but its still a issue.
PHP is also installed on my machine
I am running linux Ubuntu 22.04 LTS
Answer:
I’ll write the answer here so you can close the question. As @geertjanknapen said in the comment if you can install your project the runphp artisan serve
then just go to http://127.0.0.1:8000/ and you’ll see Laravel’s home screen. (NOTE 8000 is the default port, so put yours there if you’ve changed it).If you have better answer, please add a comment about this, thank you!