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 init

Runs an interactive prompt to pick a project and a default environment (e.g. development). Writes the selection to a local .envless file at the repo root.

Non-interactive

envless init --project my-app --env development

The .envless file

The init command creates a small JSON file that pins the directory to a project. Commit it — it contains no secrets.

.envless
{
    "project": "my-app",
    "environment": "development"
}

Flags

FlagDescription
--projectProject slug to link.
--envDefault environment (development, staging, …).
--forceOverwrite an existing .envless file.

Next

Push your local .env

Send variables from .env up to the linked project.