Now gfortran works in Command Prompt or PowerShell.
gfortran --version
Did you encounter any during your previous setup attempts? fortran 77 compiler for windows 10 64-bit free download