Advanced usage and commands for dotenvx
SDKs
Custody
Guides
- Quickstart
- Node.js
- Next.js
- Express
- Fastify
- Hono
- NestJS
- Vite
- TanStack Start
- Astro
- React Router
- Remix
- Nuxt
- SvelteKit
- Expo
- Bun
- AWS Lambda
- Cloudflare
- DigitalOcean
- Fly
- Heroku
- Netlify
- Railway
- Render
- Vercel (Next.js)
- Docker
- Docker Compose
- GitHub Actions
- Claude
- Codex
- Cursor
- 1Password
- Bitwarden
- Neon
- Python
- Flask
- uv
- PHP
- Ruby
- Rails
- Sinatra
- Go
- Echo
- Rust
- Rocket
- Java
- Kotlin
- Clojure
- .NET
- npm
- pnpm
- PM2
- Trigger.dev
- Monorepos
- Nx
- Turborepo
- Bash
- Fish
- Zsh
- Cron
- Multiple Environments
Dotenv.toml
- Dotenv.toml Quickstart
- Declarations
- Strictness
- Required
- Optional
- Types
- Choices
- Minimum
- Maximum
- Encryption
- Redaction
- File overrides
- Syntax
- Commands
- All Dotenv.toml →
CLI Commands
- run
- run --file
- run --keys-file
- run --env
- run --overload
- run --strict
- run --ignore
- run --convention
- run --token
- get
- get --file
- get --keys-file
- get --env
- get --overload
- get --strict
- get --ignore
- get --convention
- get --token
- get --all
- get --pretty-print
- get --format
- set
- set --file
- set --keys-file
- set --token
- set --encrypt
- set --plain
- set --no-create
- del
- del --file
- encrypt
- encrypt --file
- encrypt --keys-file
- encrypt --token
- encrypt --with
- encrypt --stdout
- encrypt --no-create
- decrypt
- decrypt --file
- decrypt --keys-file
- decrypt --token
- decrypt --stdout
- keypair
- keypair --file
- keypair --keys-file
- keypair --token
- keypair --pretty-print
- keypair --format
- install
- install --add
- install --remove
- install --build
- install --version
- install --directory
- install --os
- install --arch
- install --id
- install --hostname
- update
- update --hostname
- uninstall
- login
- login --hostname
- logout
- logout --hostname
- token
- token --unmask
- info
- info --pretty-print
- protect
- protect --docker
- ls
- ls --file
- ls --exclude-file
- ls --json
- genexample
- genexample --file
- gitignore
- gitignore --pattern
- precommit
- precommit --install
- precommit --uninstall
- prebuild
- native
- native up
- native up --file
- native up --keys-file
- native down
- native down --file
- native down --keys-file
- native push
- native push --file
- native push --keys-file
- native pull
- native pull --file
- native pull --keys-file
- native list
- native list --pretty-print
- native show
- native show --pretty-print
- 1password
- 1password up
- 1password up --file
- 1password up --keys-file
- 1password down
- 1password down --file
- 1password down --keys-file
- 1password push
- 1password push --file
- 1password push --keys-file
- 1password pull
- 1password pull --file
- 1password pull --keys-file
- 1password list
- 1password list --pretty-print
- 1password show
- 1password show --pretty-print
- bitwarden
- bitwarden up
- bitwarden up --file
- bitwarden up --keys-file
- bitwarden down
- bitwarden down --file
- bitwarden down --keys-file
- bitwarden push
- bitwarden push --file
- bitwarden push --keys-file
- bitwarden pull
- bitwarden pull --file
- bitwarden pull --keys-file
- bitwarden list
- bitwarden list --pretty-print
- bitwarden show
- bitwarden show --pretty-print
- armor
- armor up
- armor up --file
- armor up --token
- armor up --team
- armor down
- armor down --file
- armor down --token
- armor down --team
- armor push
- armor push --file
- armor push --token
- armor push --team
- armor pull
- armor pull --file
- armor pull --token
- armor pull --team
- armor list
- armor list --pretty-print
- armor list --token
- armor show
- armor show --pretty-print
- armor show --token
- armor show --team
- armor open
- armor open --file
- armor invite
- armor invite --team
- armor invite --email
- armor invite --token
- armor login
- armor login --hostname
- armor logout
- armor logout --hostname
- armor status
- armor settings
- armor settings username
- armor settings token
- armor settings token --unmask
- armor settings device
- armor settings device --unmask
- armor settings hostname
- armor settings path
- armor settings on
- armor settings off
- del KEY
- encrypt KEY_PLAIN
- genexample directory
- get --all --pretty-print
- get --format eval-export
- get --format eval
- get (json)
- get --convention=nextjs
- get -f directory
- get KEY -f
- get KEY
- get --format shell
- keypair --format json
- keypair KEY
- keypair --format shell
- prebuild directory
- precommit directory
- protect --docker
- run Alternate Values
- run Command Substitution
- run Contextual Help
- run DOTENV_ENV=production
- run --convention=nextjs
- run Default Values
- run DOTENV_FILE=.env.ci
- run Combine Multiple
- run DOTENV_FILE=.env.production
- run DOTENV_PRIVATE_KEY
- run Environment Variable Precedence
- run -f directory
- run -f
- run Interpolation Syntax Summary
- run Multiline
- run Shell Expansion
- run -- node index.js
- run Variable Expansion
- set KEY_PLAIN value
- set Values with leading dash
- set Values with spaces
- set KEY value
- --quiet
- --verbose
- --debug
- --log-level
- --help
- --version