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

Command-Line Options and Environment VariablesThe Main Loop

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 or special location file init.m.

FilledSmallSquare Run the Mathematica commands in the site-wide or central location file init.m.

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

FilledSmallSquare Begin running the main loop.

Command-Line Options and Environment VariablesThe Main Loop