---
title: "FGA Test Command in the WorkOS CLI"
description: "The WorkOS CLI now includes an FGA test command for validating your schema changes."
url: https://workos.com/changelog/fga-test-command-in-the-workos-cli
---

# FGA Test Command in the WorkOS CLI

Update: A new version of [WorkOS FGA](https://workos.com/changelog/fine-grained-authorization) was released in February 2026. This changelog no longer applies. Learn about the new [FGA in the docs](https://workos.com/docs/fga).

The WorkOS CLI now includes an `fga test` command for validating your schema changes. It can be run locally or as part of a GitOps workflow. The `test` command handles warrant setup and teardown automatically, runs checks against your configured environment, and supports executing multiple test files from a directory—making it easy to organize tests by function or resource type. See the [FGA documentation](https://workos.com/docs/fga/schema-management/debug-your-schema/using-the-cli) for usage examples.
