Initialization & Provisioning

The Wolfram Language allows persistent storage of information about how new sessions should be initialized. The persistent storage uses the general persistent value mechanism, and can be specific to a user, a machine, an installation or more.

Default System-Wide Initialization

(RefLink[$Initialization, paclet:ref/$Initialization]) — symbol to release and evaluate after main system initialization

(RefLink[$InitializationContexts, paclet:ref/$InitializationContexts]) — symbol giving a list of contexts to be loaded with (RefLink[Needs, paclet:ref/Needs])

(RefLink[$PreInitialization, paclet:ref/$PreInitialization]) — symbol to release and evaluate before main system initialization

Termination

(RefLink[$Epilog, paclet:ref/$Epilog]) — symbol to evaluate when a session ends

Initialization for Specific Symbols

(RefLink[InitializationValue, paclet:ref/InitializationValue]) — settable value to be assigned to a symbol on startup

(RefLink[$PersistenceBase, paclet:ref/$PersistenceBase]) — default persistence location (session, local, cloud, etc.)

(RefLink[EvaluationEnvironment, paclet:ref/EvaluationEnvironment]) — option to specify when an initialization value should be used

(RefLink[$NoValue, paclet:ref/$NoValue]) — special initialization value for symbols that causes any value to be cleared

(RefLink[Initialize, paclet:ref/Initialize]) — perform initialization for individual symbols or the whole system

(RefLink[$PersistencePath, paclet:ref/$PersistencePath]) — default places to search for initialization information

(RefLink[InitializationObjects, paclet:ref/InitializationObjects]) — give a list of all initialization objects

WolframScript Command-Line Options