'Getting msg as "cmdlet Invoke-WebRequest at command pipeline position 1 Supply values for the following parameters: Uri:" when installing laravel

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.

windows 10 (2004)



Solution 1:[1]

Make sure you have installed Docker Desktop https://www.docker.com/products/docker-desktop and WSL on Windows https://docs.microsoft.com/en-us/windows/wsl/install

In Docker Desktop, enable Integration with additional distros and select Ubuntu enter image description here

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 enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 warmwhisky