After you have installed Laravel Valet on Windows 11, there may be occurrence when another server may have corrupted the Valet setup. You may get an error message “Valet only supports the Mac operating system.

All you need to do when you see this message on Windows command prompt is to remove Valet and re-install it again.

$ composer global remove laravel/valet

$ laravel install