$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\Wolfram\14.1Windows
    /Applications/Wolfram.app/ContentsmacOS
    /usr/local/Wolfram/Wolfram/14.1Linux

Examples

Basic Examples  (1)

This product's installation directory:

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

Text

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

CMS

Wolfram Language. 2003. "$InstallationDirectory." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. 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_2024_$installationdirectory, author="Wolfram Research", title="{$InstallationDirectory}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/$InstallationDirectory.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

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