This article shows how to temporarily set the Mari project directory (old cache directory) to a custom location, for all operating systems.
Note: The project directory (in pre 3.0 versions called cache directory) contains all your project files and should never be modified without prior backups.
We highly recommend to have the project/cache directory on a local drive. If this is not the case, there could be potential issues as network drives sometimes cannot keep up with writing speeds of Mari consequently leading to dataloss.
To temporarily set your cache directory to a local folder do the following:
- Create a folder on your local hdd - e.g.
- Start a Command Prompt / Terminal and set the environment variable for the cache directory (MARI_CACHE) - e.g.
More details on how to set environment variables.
- Run Mari from your install directory (still from the same Terminal/Command Prompt)- e.g.
- The opening window of Mari will have the cache directory set to the to the folder specified earlier.
Keywords: cache directory, project directory, set, environment variable, MARI_CACHE