How to C So compiling a program in c is: clang program.c -o program which takes the file named program.c and compiles it to program. running the program: ./program Which seems pretty simple.