10

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.

chinyoka
  • 103
  • 1
  • 5

3 Answers3

5

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

it must work

0

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

Gonzalo F S
  • 412
  • 3
  • 8
0

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

enter image description here

EnriqueRBT
  • 74
  • 9