$UserBasePacletsDirectory
gives the base directory that the Wolfram System uses to store user-specific installed paclets and paclet configuration data.
Details
- $UserBasePacletsDirectory returns the full name of the directory as a string.
- Typical values are:
-
C:\User\username\AppData\Roaming\Wolfram\Paclets Windows ~/Library/Wolfram/Paclets macOS ~/.Wolfram/Paclets Linux - By default, $UserBasePacletsDirectory is a Paclets subdirectory of $UserBaseDirectory.
- The value of $UserBasePacletsDirectory can be specified with the command-line option -pacletbase when the Wolfram Language kernel is launched.
- Typical subdirectories of $UserBasePacletsDirectory are:
-
Configuration configuration data and settings stored by the paclet system Repository the location where downloaded paclets are installed Temporary temporary files used internally by the paclet system - These subdirectories are, if possible, created automatically the first time the Wolfram System is run by a given user.
- Paclets installed by PacletInstall and PacletInstallSubmit are placed in the Repository subdirectory of $UserBasePacletsDirectory.
Examples
Basic Examples (3)
The base directory in which files managed by the paclet system are placed:
Subdirectories of $UserBasePacletsDirectory:
Find all paclets that have been installed with PacletInstall on your system:
Text
Wolfram Research (2020), $UserBasePacletsDirectory, Wolfram Language function, https://reference.wolfram.com/language/ref/$UserBasePacletsDirectory.html (updated 2024).
CMS
Wolfram Language. 2020. "$UserBasePacletsDirectory." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. https://reference.wolfram.com/language/ref/$UserBasePacletsDirectory.html.
APA
Wolfram Language. (2020). $UserBasePacletsDirectory. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$UserBasePacletsDirectory.html