Turborepo

query

Experimental

Run GraphQL queries against your monorepo.

Terminal
turbo query [query] [flags]

When no arguments are passed, the command will open a GraphiQL playground to run queries.

Terminal
turbo query

When passed a query string, the command will run the query and output the results.

Terminal
turbo query "query { packages { items { name } } }"

When passed a file path, the command will read the file and run the query.

Terminal
turbo query query.gql

hours

Total Compute Saved
Get started with
Remote Caching →

On this page

No Headings