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.
envless run decrypts your variables and launches a child process with them set in the environment. No files are written, no imports added, and the variables disappear when the process exits.
Basic usage
Anything after -- is the command to run. Envless populates the child’s environment, execs the command, and forwards its exit code.
Picking an environment
If you’ve linked multiple environments and don’t pass --env, the first one in .envless is used (with a warning).
In package.json
Wrap your existing scripts so teammates don’t have to think about it:
When to pick run over the other modes
Use run
Use runtime
env.X and no CLI step at runtime.Use sync
.env.<slug> files for Docker, Rails, Python, or shell scripts.CI / production
The same command works in CI — provide a personal access key instead of a cached login:
See CI/CD & Production for full setups.
What it does under the hood
Spawn the child with env populated
process.env from the parent shell is preserved; Envless values are added without overwriting anything already set.Notes
- Variables are never written to disk.
- The child sees them via standard
process.env. envless runexits non-zero if the bundle can’t be fetched or decrypted — fail fast in CI.