Laravel 5 Installation in Ubuntu: command not found

Laravel 5 Installation in Ubuntu: command not found

As we know, Installing Laravel from terminal via laravel installer is very easy but sometime get error with some command 'command not found'.

In this post, i am going to share best solution of getting error Laravel command not found ubuntu.

At the time of fresh Laravel installment, you may face this type of error because of path setup.

When i get this error first time then i search a lot and did not find clear explaination on their official docs. Whenever i try to run command following with laravel then always i got error of Laravel command not found.

There is a simple solution to resolve this.

laravel command not found on ubuntu :-

You will have to set path properly for composer vendors because PATH file does not know where laravel is installed so update path to let it know where laravel is :


# first download Laravel installer via composer :
composer global require "laravel/installer=~1.1"
#Path setup
export PATH="~/.composer/vendor/bin:$PATH" 
# check laravel command
Laravel --version
Output : Laravel Installer version 1.1

Laravel command not found ubuntu

Now you can easily install laravel project in your directory by running following command :

# install laravel project in blog dir.
laravel new blog

Phone: (+91) 8800417876
Noida, 201301
sakarya escort akyazı escort arifiye escort erenler escort eve gelen escort ferizli escort geyve escort hendek escort otele gelen escort sapanca escort söğütlü escort taraklı escort
sakarya escort sakarya escort sakarya escort sakarya escort sakarya escort sakarya escort sakarya escort serdivan escort sapanca escort karasu escort hendek escort ankara escort
sakarya escort kızlar sakarya escort kaliteli sakarya escort vip sakarya escort elit sakarya escort bayan sakarya escort adresleri.