chinyoka
chinyoka

Reputation: 113

Can't enter my password when trying to create a Laravel project with Sail on Windows

I want to create a new Laravel 8 project and I followed the documentation with docker and Sail on Windows: https://laravel.com/docs/8.x#getting-started-on-windows

After I installed everything, I tried executing the command to create the project:

curl -s https://laravel.build/example-app | bash

It asked me for my password. I entered it and pressed enter, but nothing happened. When I press CTRL+C, I can see that it tried to execute my password as a command.

Upvotes: 11

Views: 5181

Answers (4)

printf_cherif
printf_cherif

Reputation: 1

💡

You have to run this command with sudo privileges on WSL:

or

sudo curl -s https://laravel.build/TaskFlow | bash

Upvotes: 0

EnriqueRBT
EnriqueRBT

Reputation: 94

Install Windows Terminal. Open it with your Linux distribution. And try again.

enter image description here

Upvotes: 1

Rafael Gonçalves
Rafael Gonçalves

Reputation: 66

run it in WSL command line, not in windows command prompt.

it must work

Upvotes: 4

Gonzalo F S
Gonzalo F S

Reputation: 408

First of all you should create a folder called projects inside your home directory, then, go into that folder and execute sudo curl -s https://laravel.build/example-app | bash

You could also do sudo su and then curl -s https://laravel.build/example-app | bash

Upvotes: 2

Related Questions