ev pull

Usage

ev pull [app:env] [flags]

Description

ev pull fetches the latest release from the ev server, decrypts all values locally using the project key, and writes them to .env in your working directory.

Local Change Warning

If a local .env already exists and its contents differ from the remote, ev warns you before overwriting:

Local .env has uncommitted changes:
  ~ DATABASE_URL  (local differs from remote)

Your local .env will be backed up to .env.backup. Continue? [y/N]

ev creates .env.backup before overwriting, so you can recover local-only changes if needed. Pass -y to skip the confirmation prompt.

Flags

FlagShortDescription
--yes-ySkip confirmation prompt and overwrite local .env without prompting

Examples

Pull using defaults from ev.yaml:

ev pull

Pull from a specific environment:

ev pull staging

Pull a specific app and environment, skipping confirmation:

ev pull backend:prod -y

On this page