I made Minesweeper in pygame
You need to have python 3 with pip installed.
You do not need to have pygame, in which case it will be downloaded on first play.
Go to this folder in your terminal and run the game with the command
python3 minesweeper.py