$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.

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2022_$installationdirectory, organization={Wolfram Research}, title={$InstallationDirectory}, year={2003}, url={https://reference.wolfram.com/language/ref/$InstallationDirectory.html}, note=[Accessed: 08-June-2023 ]}