Programs read their application environment through process.env; writes do not reach subprocesses.
Variables Elide sets
| Variable | Value |
|---|---|
TMPDIR | A per-run directory, removed on exit. TMP and TEMP on Windows. |
ELIDE_SYS_TMP | The system temporary directory. os.tmpdir() returns it. |
Elide does not set NODE_ENV.
Dotenv files
Since Elide 1.6.2, application commands load .env and then .env.local before the program starts. Inherited
environment variables take precedence. Use --env-file to choose files explicitly or --no-env to disable automatic
loading. See Environment and properties for directory selection, precedence and encrypted values.
process.loadEnvFile([path]) also remains available to load a file from JavaScript; its default path is ./.env.
Security
elide.pkl reads only a short list of variables; --allow-env[=NAMES] lets it read more
(Build Flags). It does not filter process.env.
Variables that configure Elide itself: Runtime Environment Variables.