Getting msg as "cmdlet Invoke-WebRequest at command pipeline position 1 Supply values for the following parameters: Uri:" when installing Laravel with docker. I used the command curl -s https://laravel.build/example-app | bash in widows terminal.
Make sure you have installed Docker Desktop https://www.docker.com/products/docker-desktop and WSL on Windows https://learn.microsoft.com/en-us/windows/wsl/install
In Docker Desktop, enable Integration with additional distros
and select Ubuntu
Then make sure you use Windows Terminal https://www.microsoft.com/en-au/p/windows-terminal/9n0dx20hk701
In Windows Terminal, select Ubuntu, which opens up the terminal in Ubuntu, then you can run curl -s https://laravel.build/example-app | bash
successfully
wsl --install -d ubuntu
β
Centenarian I use the PowerShell terminal on Windows when I need to create a new project with Laravel. If I encounter the same problem, the main solution that can solve it is to install WSL (Windows Subsystem for Linux). In the Windows PowerShell terminal, you can simply type wsl
after the command:
curl -s "https://laravel.build/example-app" | bash
To start the installation process. And the process after installation is the same. Important comment that I also use Docker for this project.
© 2022 - 2025 β McMap. All rights reserved.