Is it possible to install Laravel Framework withouth installing vagrant first?
I just read about vagrant and seems just great, however I think I will skip it for now.
I "installed" Laravel through composer, but when I tried to use the Laravel command:
new <app-name>
The console outputs:
laravel command not found.
I already set the ~/.composer/vendor/bin route to the $PATH
In your ~/.profile
file you should have something like this if you are using a mac
export PATH="~/.composer/vendor/bin:${PATH}"
If you are using Ubuntu you should have something like this in your ~/.profile
file
PATH="~/.composer/vendor/bin:$PATH"
Finally, if you haven't installed the CLI tool for the Laravel Installer just run this code in the terminal
composer global require "laravel/installer=~1.1"
You need to install laravel in order to use it.
Use composer global require "laravel/installer=~1.1"
to install laravel
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.