This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / The Mathematica Book / Mathematica Reference Guide / Mathematica Sessions /

A.7.2 Initialization

On startup, the Mathematica kernel does the following:

FilledSmallSquare Perform license management operations.

FilledSmallSquare Run Mathematica commands specified in any -runfirst options passed to the kernel executable.

FilledSmallSquare Run Mathematica commands specified in any -run options passed to the kernel executable.

FilledSmallSquare Run the Mathematica commands in the user-specific kernel init.m file.

FilledSmallSquare Run the Mathematica commands in the system-wide kernel init.m file.

FilledSmallSquare Load init.m and Kernel/init.m files in Autoload directories.

FilledSmallSquare Begin running the main loop.