---
title: store graphiql
description: >-
  Opens a local GraphiQL interface for the GraphQL Admin API on the specified
  store using previously stored app authentication.
source_url:
  html: 'https://shopify.dev/docs/api/shopify-cli/store/store-graphiql'
  md: 'https://shopify.dev/docs/api/shopify-cli/store/store-graphiql.md'
api_name: shopify-cli
---

# store graphiql

Opens a local GraphiQL interface for the GraphQL Admin API on the specified store using previously stored app authentication.

Run `shopify store auth` first to create stored auth for the store.

By default, Shopify CLI blocks mutations. Re-run with `--allow-mutations` if you intend to modify store data.

Use the `--port` flag to run GraphiQL on a specific local port.

#### Flags

The following flags are available for the `store graphiql` command:

* **-s, --store \<value>**

  **string**

  **required**

  **env: SHOPIFY\_FLAG\_STORE**

  The myshopify.com domain of the store.

* **--allow-mutations**

  **env: SHOPIFY\_FLAG\_ALLOW\_MUTATIONS**

  Allow GraphQL mutations to run against the target store.

* **--no-color**

  **env: SHOPIFY\_FLAG\_NO\_COLOR**

  Disable color output.

* **--port \<value>**

  **string**

  **env: SHOPIFY\_FLAG\_PORT**

  Local port for the GraphiQL server. Must be between 1 and 65535.

* **--verbose**

  **env: SHOPIFY\_FLAG\_VERBOSE**

  Increase the verbosity of the output.

* **--version \<value>**

  **string**

  **env: SHOPIFY\_FLAG\_VERSION**

  The API version to use in GraphiQL. Defaults to the latest stable version.

* **-v, --variables \<value>**

  **string**

  **env: SHOPIFY\_FLAG\_VARIABLES**

  The values for any GraphQL variables in your query or mutation, in JSON format.

Examples

### Examples

* ####

  ##### store graphiql

  ```sh
  shopify store graphiql [flags]
  ```

***
