// guides

Learn evnx.

From first install to production CI/CD — comprehensive guides for every step.

39 guides·5 sections·evnx 0.2.1

Start Here

New to evnx?

Browse by Section

Commands

12 guides

Start

evnx init

Reference documentation for the evnx init command: modes, options, and project setup.

beginner

evnx add

Reference documentation for the evnx add command: subcommands, options, and incremental environment variable management.

intermediate

evnx backup

Create an encrypted, portable backup of your .env file using AES-256-GCM and Argon2id key derivation.

beginner

evnx sync

Reference documentation for the evnx sync command: bidirectional sync, smart placeholders, and security features.

beginner

evnx convert

Command reference for evnx convert — flags, supported formats, transform values, glob patterns, and exit codes.

beginner

evnx diff

Reference documentation for the evnx diff command: compare .env and .env.example with auto-redaction, ordered output, and CI/CD exit codes.

beginner

evnx doctor

Diagnose environment setup issues including .env configuration, Git tracking, project structure, and security best practices. Supports JSON output for CI/CD and auto-fix for common issues.

beginner

evnx restore

Decrypt and restore a .env file from an encrypted backup created by evnx backup. Includes safety features to prevent accidental overwrites.

beginner

evnx template

Reference documentation for the evnx template command: generate configuration files from templates with variable substitution and filters.

intermediate

evnx validate

Validate .env against .env.example — catch missing variables, placeholders, weak secrets, and format issues before deployment.

beginner

evnx scan

Scan .env files for secrets, high-entropy strings, and known credential patterns. Supports JSON, SARIF, and GitHub Actions annotation output.

beginner

evnx migrate

Reference documentation for the evnx migrate command: move secrets from .env files to cloud secret managers and CI/CD platforms.

intermediate

Use Cases

10 guides

Start

Init in the Wild — Real Developer Scenarios

See how real developers use evnx init in daily workflows: Blank for scripts, Blueprint for quick starts, and Architect for custom stacks.

beginner

Migrate to GitHub Actions Secrets

Upload secrets from your .env file directly into GitHub Actions repository secrets using evnx migrate.

beginner

Team Collaboration with evnx sync

Real-world patterns for using evnx sync with multiple developers, onboarding, and merge workflows.

intermediate

Production Use Cases — Real-World `evnx add` Workflows

Explore real production scenarios where `evnx add` solves environment variable management challenges — with before/after comparisons showing manual friction vs. evnx efficiency.

intermediate

Migrate to AWS Secrets Manager

Generate ready-to-run AWS CLI commands to store your .env secrets in AWS Secrets Manager as a single JSON secret.

beginner

Prevent Secret Leaks

Set up a layered defense against secret leaks: pre-commit hooks, CI scanning, gitignore validation, and automated migration to a secret manager.

beginner

Migrate to GCP Secret Manager

Generate gcloud CLI commands to store each .env variable as an individual secret in Google Cloud Secret Manager.

beginner

Migrate to Platform Secret Stores

Migrate .env secrets to Doppler, Infisical, Azure Key Vault, Vercel, Heroku, or Railway using evnx migrate.

beginner

Production Use Cases — Real-World `evnx template` Workflows

Explore real production scenarios where `evnx template` eliminates manual config file editing — with before/after comparisons showing the friction of hand-crafted files vs. template-driven generation.

intermediate

Migrating a Dockerised Django app from .env to AWS Secrets Manager

Step-by-step walkthrough for a DevOps engineer moving a Django + DRF application running on EC2 with Docker from flat .env files to AWS Secrets Manager — using evnx convert to handle the migration safely and repeatably.

intermediate

Don't have evnx yet?

Install in one command.

evnx is a single static binary. No runtime, no dependencies.

$ curl -fsSL https://dotenv.space/install.sh | bash