You need also install msys. Open msys, change to the directory with your c code (hello.c), type gcc hello.c -o hello Tehn excute ./hello . That is all.