QB64 is the best solution for modern users. It is a free, open-source compiler that is nearly 100% compatible with original QBasic code but runs natively on Windows 10 64-bit. How to Download QBasic | Windows 7/8/8.1/10 | Make Easy
For those looking to bring the classic 1990s programming experience to a modern machine, a direct is not technically possible because the original QBasic is a 16-bit application that cannot run natively on 64-bit architecture.
However, you can achieve the same results using two main methods: downloading , a modern native replacement, or using DOSBox to emulate the original environment. Method 1: The Modern Choice – QB64 (Recommended)