format version
Check your current Format version.
Prints the version Format is currently running.
npx format versionpnpm dlx format versionyarn dlx format versionbun x format versionFormat 1.0.2
3 installed Format packages: @format.dev/client, @format.dev/zip, @format.dev/reactIf any installed package doesn't match the version listed in your configuration, the command lists what has drifted and exits with a non-zero code. You can use this as a CI step to keep mismatched versions from ever deploying.
- run: npx format versionWhen you're online, the command also tells you if a newer Format release is available, and flags when that release may include breaking changes. format dev shows the same heads-up when you close the dev server.
Was this page helpful?