$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:\ProgramFiles\WolframResearch\Mathematica\$FailedWindows
    /Applications/Mathematica.app/ContentsmacOS
    /usr/local/Wolfram/Mathematica/$FailedLinux

Examples

Basic Examples  (1)

This product's 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_2023_$installationdirectory, author="Wolfram Research", title="{$InstallationDirectory}", year="2003", howpublished="\url{https://reference.wolfram.com/language/ref/$InstallationDirectory.html}", note=[Accessed: 18-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_$installationdirectory, organization={Wolfram Research}, title={$InstallationDirectory}, year={2003}, url={https://reference.wolfram.com/language/ref/$InstallationDirectory.html}, note=[Accessed: 18-March-2024 ]}