# Inspect feature flag history with Vercel CLI

By Steven Van · 2026-07-23

Vercel CLI's new "flags versions" command lists every revision of a feature flag and can diff one against the last.

[Vercel](<https://creatorstoolbox.com/tools/vercel>)'s CLI can now show the revision history behind a feature flag. Running vercel flags versions prints every saved revision for a flag, with each one's author, change message, timestamp, and which environments it changed.

- Filter to a single environment with --environment.

- Page through results with --limit and --cursor, or add --json for scripting.

- Compare a revision against the one before it with vercel flags versions diff --revision. The diff is semantic, surfacing field-level changes to targeting rules, rollout percentages, and conditions, with additions, removals, and modifications shown as colored +, -, and ~.

The command requires updating to the latest version of the Vercel CLI, as described in the [announcement](<https://vercel.com/changelog/inspect-feature-flag-history-with-vercel-cli>).

[![](<https://vercel.com/api/docs-og?title=vercel%20flags&format=docs&sig=86b56d5d3ebc65f88275fa343bbd724780a724adf9c9c5df52b505e6015cf24b&category=Ship%20and%20scale&subcategory=CLI>)](<https://vercel.com/docs/cli/flags#viewing-version-history>)

![Vercel](<https://www.google.com/s2/favicons?domain=vercel.com&sz=128>)

Vercel

The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.

[View Vercel →](<https://creatorstoolbox.com/tools/vercel>)

Sources

[Original source](<https://vercel.com/docs/cli/flags#viewing-version-history>)

[Read Inspect feature flag history with Vercel CLI on Creators Toolbox](<https://creatorstoolbox.com/blog/vercel-inspect-feature-flag-history-with-vercel-cli>)

---
Canonical source: https://creatorstoolbox.com/blog/vercel-inspect-feature-flag-history-with-vercel-cli
