PabloQ
PabloQ

Reputation: 361

Laravel installation withouth vagrant

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

Upvotes: 0

Views: 534

Answers (2)

Dimitri Acosta
Dimitri Acosta

Reputation: 1816

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"

Upvotes: 2

Sidharth
Sidharth

Reputation: 1925

You need to install laravel in order to use it.

Use composer global require "laravel/installer=~1.1" to install laravel

Upvotes: 0

Related Questions