In order to get the latest versions of the dependencies and to update the composer.lock file, you should use the update command**.** This command is also aliased as upgrade as it does the same as upgrade does if you are thinking of apt-get or similar package managers.
In some cases, a clean installation may improve your device's performance, security, browsing experience, and battery life. To reset your PC, go to Start > Settings > System > Recovery . Next to Reset this PC , select Reset PC.
As we have checked and found the Installer is working fine as we have set up the same in our local host if you are facing such an issue please let us know the steps.
Kindly run composer create first after that make all the necessary changes in the .env file then run this php artisan bagisto:install after this you won't get any installation errors.