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
Attention Required! | Cloudflare

Sorry, you have been blocked

You are unable to access ressim.net

Why have I been blocked?

This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.

What can I do to resolve this?

You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.