doppler Setup macOS:
brew install dopplerhq/cli/doppler
Or install from https://docs.doppler.com/docs/install-cli for other platforms.
Verify installation:
doppler --version
Always use --json flag when calling commands programmatically.
Authentication doppler login
Resources Setup Command Description --------- ------------- doppler setupConfigure Doppler for current directory doppler setup --project --config Configure with specific project and config
Secrets Command Description --------- ------------- doppler secretsList all secrets in current config doppler secrets get KEYGet a specific secret value doppler secrets get KEY --plainGet plain text value (no formatting) doppler secrets set KEY=valueSet a secret doppler secrets set KEY1=val1 KEY2=val2Set multiple secrets doppler secrets delete KEYDelete a secret doppler secrets download --no-file --format envDownload secrets as .env format doppler secrets download --no-file --format jsonDownload secrets as JSON
Run Command Description --------- ------------- doppler run -- Run a command with secrets injected as env vars doppler run -- npm startRun npm start with secrets injected doppler run --command "echo \$KEY"Run shell command with secrets
Projects Command Description --------- ------------- doppler projectsList all projects doppler projects create Create a new project doppler projects delete Delete a project doppler projects get Get project details
Configs Command Description --------- ------------- doppler configsList all configs in current project doppler configs create --name --environment Create a new config doppler configs delete --config --yes Delete a config doppler configs clone --config --name Clone a config
Environments Command Description --------- ------------- doppler environmentsList all environments doppler environments create --name --slug Create an environment doppler environments delete Delete an environment
Activity Command Description --------- ------------- doppler activityView recent activity log doppler activity --number 20View last 20 activity entries
Global Flags Flag Description ------ ------------- --jsonOutput result as JSON --project Specify project --config Specify config --token Use service token for auth --no-colorDisable colored output