To use the compiler from any command prompt (like CMD or PowerShell), you must tell Windows where to find it.
When prompted, press to select all default packages, then type Y and press Enter to proceed with the download. Step 3: Add MinGW-w64 to Your System Path how to download mingw-w64 for windows 11
Under , find the variable named Path , select it, and click Edit . To use the compiler from any command prompt