Server Environment Variables
The primary way of configuring the Appium server is via Command-Line Arguments. However, some more advanced features are toggled or configured via environment variables. To set environment variables, refer to the documentation for your operating system and terminal. These are the environment variables that the Appium server understands:
|By default, Appium creates a directory called
.appium in the home directory for your system user. You can adjust the directory with this variable, as detailed in the Managing Extensions guide.
|By default, Appium uses a random temporary directory for many of its operations. If you wish to use a specific directory, you may do so by including an absolute path as the value of this variable. The behaviour is equivalent to using the
--tmp CLI arg.
false to request that Appium not use the
unzip binary included on your system for unzipping downloaded apps or other artifacts. Instead it will use a JS-based unzip library. This could help on some systems with non-existent or non-standard
unzip commands. Note that if unzipping fails using the system library, the fallback library will be attempted in any case, so setting this env var merely saves time in the event you know the system unzip will fail.
|Same as the
--address CLI arg
|Same as the
--port CLI arg
1 to cause Appium to re-require extensions when new sessions are created. This is mostly useful for building extensions
--omit=peer to all the NPM commands run internally by Appium. Mostly an internal feature.