Skip to main content

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.

Usage

envless pull

Fetches every variable for the linked project + environment and writes them to .env in the current directory.

Pull a specific environment

envless pull --env production

Write to a different file

envless pull --file .env.local

Pipe directly to your process

Skip writing a file entirely and stream variables to a child process.

envless pull --exec "node server.js"

The CLI injects the variables into the child process’s environment, so nothing is ever written to disk.

Flags

FlagDescription
--envEnvironment to pull from. Defaults to the one in .envless.
--fileDestination file path. Defaults to .env.
--execRun a command with the variables injected, no file written.
--formatOutput format: dotenv (default), json, shell.
--projectOverride the project from .envless.

Next

Two-way sync

Merge local and remote changes in a single command.