Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Is it possible to start Mathematica kernel from UNIX command line without having the init.m loaded, but not by simply deleting or commenting out it before hand?

If this is a Mathematica script, is it possible to have the script run and by pass the initialization of running init.m?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

According to the documentation,

To suppress the loading of kernel initialization files, use the kernel command-line option -noinit.

To specify another file to be used for kernel initialization in addition to init.m, use the kernel command-line option -initfile file, where file is the additional initialization file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.