$InitializationContexts

$InitializationContexts

is a symbol whose value, if any, specifies a list of packages to read with Needs at the start of a Wolfram Language session.

Details

Examples

Basic Examples  (1)

Set a package to be read every time the kernel starts:

In[1]:=
Click for copyable input
Out[1]=

Set a value that persists only during a front end session:

In[2]:=
Click for copyable input
Out[2]=

View the current initialization value:

In[3]:=
Click for copyable input
Out[3]=

See Also

InitializationValue  Initialize  $Initialization  Needs

Introduced in 2017
(11.2)