ev diff

Usage

ev diff [env1] [env2]

Description

ev diff has two modes:

Local vs remote — run with no arguments (or one environment name) to compare your local .env against the latest remote release. This is the same diff shown before ev push.

Environment to environment — pass two environment names to compare the latest releases of two environments. This is useful for reviewing what changes would be applied by ev promote.

Changed values are shown with a ~ indicator. ev does not reveal the plaintext of either value — it shows that a value has changed, not what it changed to. Added keys show + and removed keys show -.

Examples

Compare local .env against the remote default environment:

ev diff

Compare local .env against a specific remote environment:

ev diff staging

Compare two environments:

ev diff staging prod

Compare two environments for a specific app:

ev diff backend:staging backend:prod

On this page