Unable to install Mautic on Laragon

Your software
My Mautic version is: 4.2.1
My PHP version is: 8.1.4
My Database type and version is: MySQL 8.0.28

Your problem
My problem is: When following the instructions on How to install Mautic on a localhost | Grav (I use Laragon instead of AMPPS but I encounter the same error when installing using AMPPS as well), I get this error when doing ‘composer install’ step:

‘xargs’ is not recognized as an internal or external command,
operable program or batch file.
Script find . -mindepth 2 -type d -name .git | xargs rm -rf handling the remove-git-submodules event returned with error code 255
Script @remove-git-submodules was called via post-update-cmd.

After that, when I go to http://localhost/mautic, I get 403 Forbidden error.

These errors are showing in the log:
No logs as I cannot even install Mautic.

Steps I have tried to fix the problem:
None.

With Laragon, you need to use the Pretty URL you have setup. http://mautic.test/