You can cd in the Drive or folder, that you want to install. After that run the same command.
curl -s https : // laravel. build /example-app | bash
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi,
My First Docker Desktop on Windows 10 is installed on the C drive and it works. I also installed Ubuntu on the C drive.
I would install the Laravel by containers on the D drive (not on the drive C) I tried it by run the following command in my terminal:
curl -s https : // laravel. build /example-app | bash
but I think, it is for the Drive C. How can I install on the D drive (it is a external hard drive).
TRhanks beneyraheem, it works :
on windows my directory on Dirve D :
D:\dockers\laraveltest
and on Ubuntu
$ cd /mnt/d/dockers/laraveltest
Please or to participate in this conversation.