$InstallationDirectory

$InstallationDirectory

gives the toplevel directory in which your Wolfram System installation resides.

Details

  • $InstallationDirectory returns the full name of the directory as a string.
  • Typical values are:
  • C:ProgramFilesWolframResearchMathematica12.0
    Windows
    /Applications/Mathematica.app/ContentsMacintosh
    /usr/local/Wolfram/Mathematica/12.0Linux

Examples

Basic Examples  (1)

A standard installation directory:

Wolfram Research (2003), $InstallationDirectory, Wolfram Language function, https://reference.wolfram.com/language/ref/$InstallationDirectory.html.

Text

Wolfram Research (2003), $InstallationDirectory, Wolfram Language function, https://reference.wolfram.com/language/ref/$InstallationDirectory.html.

BibTeX

@misc{reference.wolfram_2021_$installationdirectory, author="Wolfram Research", title="{$InstallationDirectory}", year="2003", howpublished="\url{https://reference.wolfram.com/language/ref/$InstallationDirectory.html}", note=[Accessed: 26-October-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_$installationdirectory, organization={Wolfram Research}, title={$InstallationDirectory}, year={2003}, url={https://reference.wolfram.com/language/ref/$InstallationDirectory.html}, note=[Accessed: 26-October-2021 ]}

CMS

Wolfram Language. 2003. "$InstallationDirectory." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$InstallationDirectory.html.

APA

Wolfram Language. (2003). $InstallationDirectory. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$InstallationDirectory.html