Skip to content

CLI Options

Most commands read defaults from .lazyenv/config.json and let you override them with flags.

  • If you pass a flag (like --store), it overrides .lazyenv/config.json for that command.
  • If you omit --project, lazyenv uses projectId from .lazyenv/config.json.
  • If you omit --env, lazyenv uses dev (or your configured environments, depending on the command).
OptionMeaning
--store <store>Secret store (infisical, doppler, bitwarden, onepassword)
-p, --project <id>Project ID/slug (store-dependent)
-e, --env <name>Environment name
-f, --folder <path>Target a specific workspace folder
-y, --yesAuto-confirm prompts / use defaults where possible
--non-interactiveFail instead of prompting (useful in CI)
--all-environmentsApply the operation to all configured environments
--forceSkip confirmation prompts (destructive operations)

Some commands support structured output for scripting:

OptionMeaningCommands
--jsonPrint JSON instead of textlist, get