Skip to content

Quick Start

This guide gets lazyenv running in a repo with one or more .env.example files.

Export credentials for your chosen store:

Terminal window
# Infisical
export INFISICAL_API_TOKEN="..."
# Doppler
export DOPPLER_TOKEN="..."
# Bitwarden
export BITWARDEN_ACCESS_TOKEN="..."
# 1Password
export OP_SERVICE_ACCOUNT_TOKEN="..."

Store‑specific setup lives under Stores.

Run init and pick a store:

Terminal window
lazyenv init --store <infisical|doppler|bitwarden|onepassword>

Interactive mode walks you through selecting (or creating) a project when supported by the store.

Push keys from .env.example into your store:

Terminal window
lazyenv sync

Fetch secrets into .env files:

Terminal window
lazyenv pull

Execute commands with secrets injected as environment variables:

Terminal window
lazyenv run npm run dev

If the store is unavailable, lazyenv run can fall back to local .env files.