1.) Set target directory
export LARAVEL_APP=laravel
The value of
LARAVEL_APP
will be the name of the directory where the laravel app will be created relative to your current working directory in git bash.
2.) Install Laravel via Docker
docker run --rm \
--pull=always \