docs/Environment-Variables.md
Users can set environmental variables to override Transmission's default behavior and for debugging.
TRANSMISSION_HOME is set, Transmission will look there for its settings instead of in the default location.TRANSMISSION_WEB_HOME is set, Transmission will look there for the Web Interface files, such as the JavaScript, HTML, and graphics files.TR_CURL_SSL_NO_VERIFY is set, Transmission will not validate SSL certificate for HTTPS connections when talking to trackers. See CURL's documentation (CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER) for more details.TR_CURL_VERBOSE is set, debugging information for libcurl will be enabled. More information about libcurl's debugging mode is available here.TR_DHT_VERBOSE is set, Transmission will log all of the DHT's activities in excruciating detail to standard error.TR_SAVE_VERSION_FORMAT is set to 4 or 5, it will save settings.json, stats.json, etc. files to either Transmission 4 or Transmission 5 format.TRANSMISSION_WEB_HOME is not set, non-Mac platforms will look for the Web Interface files in XDG_DATA_HOME and in XDG_DATA_DIRS as described in the XDG Base Directory Specification. XDG_DATA_HOME has a default value of $HOME/.local/share/.TRANSMISSION_HOME is not set, Unix-based versions of Transmission will look for their settings in $XDG_CONFIG_HOME/transmission/. XDG_CONFIG_HOME has a default value of $HOME/.config/.HOME is set, it is used in three ways:
XDG variables, as described above.TRANSMISSION_HOME is not set, Mac-based versions of Transmission will look for their settings in $HOME/Library/Application Support/Transmission.$HOME/Downloads is the default download directory.