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 push

Reads the local .env file in the current directory and uploads each variable to the project + environment defined in .envless.

Push to a specific environment

envless push --env staging

Push a different file

envless push --file .env.production --env production

Dry run

Preview what would change without writing anything to the project.

envless push --dry-run

Conflict handling

By default, push refuses to overwrite remote variables that have diverged from your local copy. Pass --force to overwrite them.

envless push --force

Flags

FlagDescription
--envTarget environment. Defaults to the one in .envless.
--filePath to the env file to read. Defaults to .env.
--dry-runShow the diff without uploading.
--forceOverwrite remote values that differ from local.
--projectOverride the project from .envless.

Next

Pull variables back down

Fetch the latest variables to your machine.