Documentation Index
Fetch the complete documentation index at: https://docs.envless.cloud/llms.txt
Use this file to discover all available pages before exploring further.
Install
Two ways to load
Side-effect import (recommended)
Add a single import at your entry file, before anything else:server.ts
/register runs the loader synchronously at module load: fetch → decrypt → populate process.env and the typed env proxy.
--import flag
If you can’t modify the entry file (or want to opt in via launcher):
Use it
Process management
When usingpm2, forever, or systemd, set ENVLESS_TOKEN in the service definition for production. The loader reads it on each restart.
Workers and child processes
Variables populated inprocess.env are inherited by child_process.spawn / fork by default — no extra setup. For Worker threads, pass env: process.env explicitly if you’ve customized the worker’s env.