Using the Compiler and Linker from the Command Line The ifort command is used to compile and link your programs from the command line. You can either compile and link your projects in one step with the ifort command, or compile them with ifort and then link them as a separate step. In most cases, you will use a single ifort command to invoke the compiler and linker. You can use the ifort command in either of two windows: Your own terminal window, in which you have set the appropriate environment variables by executing the file called ifortvars.sh or ifortvars.csh (Linux* and Mac OS* X) or ifortvars.ba t (Windows*). This file sets the environment variables such as PATH. By default, ifortvars file is installed in the \bin directory for your compiler. For more information, see Using the ifortvars File to Specify Location of Components . On Windows systems, the supplied Fortran command-line window in the Intel ® Fortran program folder, in which the ap