Monday, August 21, 2017
Installing Laravel in Ubuntu 16.04
First install composer. Refer http://www.btechonline.org/2017/08/installing-composer-globally-in-ubuntu.html
Download Laravel:
Edit environment config:
Note: If the above fails due to permissions, you may need to run it again with sudo.
Add the below line to the end of the file:
export PATH="$PATH:$HOME/.config/composer/vendor/bin"
Then reload the config:
To verify:
You will get a similar output as shown below:
Laravel Installer 1.3.3
Usage:
command [options] [arguments]
Options:
-h, --help Display this help message
-q, --quiet Do not output any message
Download Laravel:
$ composer global require "laravel/installer"
Edit environment config:
$ nano .bashrc
Note: If the above fails due to permissions, you may need to run it again with sudo.
Add the below line to the end of the file:
export PATH="$PATH:$HOME/.config/composer/vendor/bin"
Then reload the config:
$ source ~/.bashrc
To verify:
$ laravel
You will get a similar output as shown below:
Laravel Installer 1.3.3
Usage:
command [options] [arguments]
Options:
-h, --help Display this help message
-q, --quiet Do not output any message
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment