﻿# Docs

> Get dotenvx working. Understand how it works.

Start with [Install](/docs/install/) for the CLI or an SDK for your language. Then follow the [Quickstart](/docs/quickstart/) to encrypt your first .env, commit it, and run your app.

For more options, see [Advanced](/docs/advanced/). To use dotenvx directly from your application, head to [SDKs](/docs/sdk/).

Your encrypted files travel with your code. Where the private key lives is your choice. [Custody](/docs/custody/) explains the options and links to setup.

Evaluating the security model? Read the [whitepaper](/whitepaper.pdf). Company security review materials are in the [Trust Center](/trust/).

## Guides

### CLI

- [Quickstart](/docs/quickstart/)

### Node.js

- [Node.js](/docs/nodejs/)
- [Next.js](/docs/nextjs/)
- [Express](/docs/express/)
- [Fastify](/docs/fastify/)
- [Hono](/docs/hono/)
- [NestJS](/docs/nestjs/)
- [Vite](/docs/vite/)
- [TanStack Start](/docs/tanstack-start/)
- [Astro](/docs/astro/)
- [React Router](/docs/react-router/)
- [Remix](/docs/remix/)
- [Nuxt](/docs/nuxt/)
- [SvelteKit](/docs/sveltekit/)
- [Expo](/docs/expo/)
- [Bun](/docs/bun/)

### Platforms

- [AWS Lambda](/docs/platforms/aws-lambda/)
- [Cloudflare](/docs/cloudflare/)
- [DigitalOcean](/docs/platforms/digital-ocean/)
- [Fly](/docs/platforms/fly/)
- [Heroku](/docs/platforms/heroku/)
- [Netlify](/docs/platforms/netlify/)
- [Railway](/docs/platforms/railway/)
- [Render](/docs/platforms/render/)
- [Vercel (Next.js)](/docs/nextjs/)

### Docker

- [Docker](/docs/docker/)
- [Docker Compose](/docs/docker-compose/)

### CI

- [GitHub Actions](/docs/github-actions/)

### Coding Agents

- [Claude](/docs/claude/)
- [Codex](/docs/codex/)
- [Cursor](/docs/cursor/)

### Password Managers

- [1Password](/docs/1password/)
- [Bitwarden](/docs/bitwarden/)

### Databases

- [Neon](/docs/neon/)

### Python

- [Python](/docs/python/)
- [Flask](/docs/flask/)
- [uv](/docs/uv/)

### PHP

- [PHP](/docs/php/)

### Ruby

- [Ruby](/docs/ruby/)
- [Rails](/docs/rails/)
- [Sinatra](/docs/sinatra/)

### Go

- [Go](/docs/go/)
- [Echo](/docs/echo/)

### Rust

- [Rust](/docs/rust/)
- [Rocket](/docs/rocket/)

### Java

- [Java](/docs/java/)
- [Kotlin](/docs/kotlin/)
- [Clojure](/docs/clojure/)

### .NET

- [.NET](/docs/dotnet/)

### Package Managers

- [npm](/docs/package-managers/npm/)
- [pnpm](/docs/package-managers/pnpm/)

### Process Managers

- [PM2](/docs/process-managers/pm2/)

### Background Jobs

- [Trigger.dev](/docs/background-jobs/triggerdotdev/)

### Monorepos

- [Monorepos](/docs/monorepos/)
- [Nx](/docs/nx/)
- [Turborepo](/docs/turborepo/)

### Shells & Scheduling

- [Bash](/docs/bash/)
- [Fish](/docs/fish/)
- [Zsh](/docs/zsh/)
- [Cron](/docs/cron/)

### Encryption

- [Multiple Environments](/docs/quickstart/env-files/)

## SDKs

- [Node.js](/docs/sdk/nodejs/)
- [Next.js](/docs/sdk/nextjs/)
- [Python](/docs/sdk/python/)
- [Ruby](/docs/sdk/ruby/)
- [Go](/docs/sdk/go/)
- [Rust](/docs/sdk/rust/)
- [PHP](/docs/sdk/php/)

## CLI

- [run](/docs/cli/run/)
- [get](/docs/cli/get/)
- [set](/docs/cli/set/)
- [del](/docs/cli/del/)
- [encrypt](/docs/cli/encrypt/)
- [decrypt](/docs/cli/decrypt/)
- [keypair](/docs/cli/keypair/)
- [install](/docs/cli/install/)
- [--quiet](/docs/cli/quiet/)
- [--verbose](/docs/cli/verbose/)
- [--debug](/docs/cli/debug/)
- [--log-level](/docs/cli/log-level/)
- [--help](/docs/cli/help/)
- [--version](/docs/cli/version/)

[All commands](/docs/cli/)

## Custody

- [Local](/docs/custody/local/)
- [Armor ⛨](/docs/custody/armor/)
- [Password Managers](/docs/custody/password-managers/)

## Dotenv.toml

- [Quickstart](/docs/dotenv-toml/quickstart/)
- [Declarations](/docs/dotenv-toml/env/)
- [Strictness](/docs/dotenv-toml/strict/)
- [Required](/docs/dotenv-toml/required/)
- [Optional](/docs/dotenv-toml/optional/)
- [Types](/docs/dotenv-toml/type/)
- [Choices](/docs/dotenv-toml/enum/)
- [Minimum](/docs/dotenv-toml/min/)
- [Maximum](/docs/dotenv-toml/max/)
- [Encryption](/docs/dotenv-toml/encrypted/)
- [Redaction](/docs/dotenv-toml/redacted/)
- [File overrides](/docs/dotenv-toml/file/)
- [Syntax](/docs/dotenv-toml/syntax/)
- [Commands](/docs/dotenv-toml/commands/)
- [Full specification](/docs/dotenv-toml/spec/)

## Resources

- [Dotenv](/docs/dotenv/)
- [.env](/docs/env-file/)
- [.env (encrypted)](/docs/encrypted-env-file/)
- [.env.keys](/docs/env-keys-file/)
- [Dotenv.toml Spec](/docs/dotenv-toml/spec/)
- [Dotenv Spec](/docs/spec/)
- [Dotenv Spec Table](/docs/spec/table.html)
- [API](/docs/api/)
- [Errors](/docs/errors/)
- [Events](/docs/events/)
- [Stats](/docs/stats/)
- [Whitepaper ↗](/dotenvx.pdf)

## Security

- [Whitepaper](/whitepaper.pdf)
- [Trust Center](/trust/)
