Skip to content
EANVI

Documentation

Guides for getting started, the CLI, TypeScript SDK, encryption, CI/CD, and FAQ.

Quick reference

CLI quick start

Authenticate, bind a project, then pull decrypted secrets locally.

eanvi login
eanvi init --project my-app --environment development
eanvi pull
Full command reference

SDK

TypeScript client used by the CLI and your services.

import { createClient } from '@eanvi/sdk';

const client = createClient({ apiKey: 'eanvi_sk_...' });

const secrets = await client.secrets.list('my-app', 'production');
SDK usage guide

Popular CLI commands

eanvi login

eanvi login [options]

Authenticate your machine with Eanvi via interactive email/password or API key.

eanvi login

eanvi init

eanvi init [options]

Initialize a .eanvi/config.json in the current working directory.

eanvi init -p my-app -e development

eanvi pull

eanvi pull [options]

Download decrypted environment secrets and write to a local env file.

eanvi pull --output .env.local

eanvi push

eanvi push [options]

Upload local env secrets to the remote environment with optimistic concurrency checks.

eanvi push --dry-run

eanvi sync

eanvi sync [options]

Bidirectional sync pulling remote updates and pushing local changes with conflict merging.

eanvi sync --yes

eanvi diff

eanvi diff [options]

Show differences between local .env and remote state (+ added, ~ modified, - removed).

eanvi diff