4
Guys, I am using mac and trying to install Laravel. I have already installed the composer
, surround the command line documented in the framework :
composer global require "laravel/installer=~1.1"
He runs everything ok, but when I try
laravel new blog
It gives that the command Laravel does not exist.
I’m creating inside the xammp htdocs.
How could I fix this ?
Thank you
The command would not be,
php laravel new blog
?– rray
friend of unknown command
– Augusto Furlan
This using windows or linux?
– Guilherme Nascimento
MAC but I believe it is similar to linux
– Augusto Furlan
It can’t be via Composer ?
– Diego Souza
So I’m following a book, and it uses the direct command in the Standard ... You don’t know how I can Tidy up >
– Augusto Furlan
So, but Laravel is installed via Composer. You installed Composer ?
– Diego Souza
yes, I have installed the Composer all right, now to the Standard using this site : https://blog.butecopensource.org/tutorial-laravel-5/ but qnd localhost access/teste1/public error 500
– Augusto Furlan
I used the search engine inside the xampp with . bash_profile and returned me two files but none with that name
– Augusto Furlan
Dude, erase that Shampoo. And install the Mamp. https://www.mamp.info/en/downloads/
– Diego Souza
ok I’m installing
– Augusto Furlan
worked amigoooooo finally.... S'o a question, how can I create a shortcut on the terminal ? example every time go to use cd /xxx/xxx/xxxx would like to turn this command into a goDevWeb
– Augusto Furlan
I don’t know about this, man. But good that it worked. Ask a question again. I’m sure someone should know here.
– Diego Souza
ok thanks for the help and patience XD
– Augusto Furlan