Mohamed Elbiheiry
Mohamed Elbiheiry

Reputation: 353

How to install new Laravel project

I need to create a new Laravel project on Windows using composer but when I run this command: laravel new blood it gives me this error on composer:

  [Symfony\Component\Process\Exception\RuntimeException]
  TTY mode is not supported on Windows platform.


new [--dev] [--] <name>

I never faced that error and it already creates a new project but the project doesn't run on the browser as it gives me a problem in the autoload.php.

How can I solve it?

Upvotes: 1

Views: 414

Answers (2)

Uddyan Semwal
Uddyan Semwal

Reputation: 754

Try this:

composer global require laravel/installer
composer create-project --prefer-dist laravel/laravel blog

Upvotes: 0

Lahm
Lahm

Reputation: 11

Try

composer global require "laravel/installer":"1.3.1"

Worked for me.

Upvotes: 1

Related Questions