This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / The Mathematica Book / Reference Guide / Mathematica Sessions  /

A.7.2 Initialization

On startup, the Mathematica kernel does the following:

  • Perform license management operations.
  • Run Mathematica commands specified in any -runfirst options passed to the kernel executable.
  • Run Mathematica commands specified in any -run options passed to the kernel executable.
  • Run the Mathematica commands in the user-specific or special location file init.m.
  • Run the Mathematica commands in the site-wide or central location file init.m.
  • Load init.m and Kernel/init.m files in Autoload directories.
  • Begin running the main loop.