There are a few steps you can take to avoid installing video games on your personal computer:
Don't download game installation files: One of the easiest ways to avoid installing video games on your PC is to simply not downloading the game installation files in the first place. If you don't have the installation file, you won't be able to install the game.
Use a different device: If you want to play video games but don't want to install them on your PC, you could try using a different device, such as a gaming console or a mobile device. This way, you can still enjoy the games without having to install them on your PC.
Use a separate user account: If you share your PC with others and don't want them to be able to install games, you could try using a separate user account for yourself. This way, you can set up parental controls or other restrictions on the account to prevent the installation of games.
Use antivirus software: Finally, you can try using antivirus software to protect your PC from unwanted installations. Some antivirus programs can block the installation of certain types of software, including video games, and can alert you if an installation is attempted.
By following these steps, you can help to prevent the installation of video games on your PC and keep it free from unwanted software.