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

Viewed 2024

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.

3 Answers

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

it must work

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

enter image description here

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

Related