{
  "slug": "shopify-cli-can-skip-the-local-dev-console-when-opening-a-preview-link-30b1afadff95",
  "title": "Shopify CLI can skip the local dev console when opening a preview link",
  "tools": [
    "shopify"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-01-29T21:42:11.000Z",
  "announced_at": "2026-01-29T21:42:11.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When running `shopify app dev`, set `SHOPIFY_SKIP_LOCAL_DEV_CONSOLE=1` and leave `SHOPIFY_CLI_1P_DEV` unset to open Admin from the preview link. [Shopify CLI PR #6786](https://github.com/Shopify/cli/pull/6786)",
    "examples": [
      "SHOPIFY_SKIP_LOCAL_DEV_CONSOLE=1 pnpm shopify app dev",
      "shopify app dev [flags]"
    ],
    "gotchas": [
      "Version: 3.90.0",
      "SHOPIFY_SKIP_LOCAL_DEV_CONSOLE=1: Skips opening the local dev console from the preview link.",
      "SHOPIFY_CLI_1P_DEV: Must not be set for the skip behavior described in the PR to apply.",
      "Prerequisite: Shopify CLI requirements: Node.js 22.12+, a Node.js package manager (npm, Yarn 1.x, or pnpm), and Git 2.28.0+.",
      "Prerequisite: `shopify app dev` previews on a development store.",
      "The behavior is conditional on `SHOPIFY_CLI_1P_DEV=1` not being set."
    ]
  },
  "why_it_matters": "When running `shopify app dev` and opening its preview link, open Admin instead of the local dev console.",
  "sources": [
    "https://github.com/Shopify/cli/releases/tag/3.90.0",
    "https://github.com/Shopify/cli/pull/6786",
    "https://shopify.dev/docs/api/shopify-cli/app/app-dev",
    "https://shopify.dev/docs/api/shopify-cli"
  ],
  "rank": 0.9002,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-5b01ab112fbd7eaf-5:gate",
    "evidence_hash": "2a4a57e332f198b2ebb76fc6ef6b2e78077e2166e2941f8d68e145e2e009fc40"
  },
  "review": {
    "draft_hash": "c253243d8829333fe59575c913d0984554227694b7f983d3aa4a570072c52db7",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.90 >= 0.9; 2 needed) and Jev gave 0.69 (>= 0.6 needed)."
  }
}
