{
  "slug": "shopify-app-and-theme-commands-accept-an-auth-alias-4a08c42c94bf",
  "title": "Shopify app and theme commands accept an auth alias",
  "tools": [
    "shopify"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-07-31T10:50:00.000Z",
  "announced_at": "2026-07-31T10:50:00.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When running a supported app or theme development command, pass `--auth-alias <alias>` or set `SHOPIFY_FLAG_AUTH_ALIAS` to use that account alias for the command without changing the current CLI session.",
    "examples": [
      "shopify app dev --auth-alias <alias>",
      "shopify theme dev --auth-alias <alias>",
      "SHOPIFY_FLAG_AUTH_ALIAS=<alias> shopify app dev"
    ],
    "gotchas": [
      "Version: 4.6.0",
      "--auth-alias <value>: Alias of the Shopify account to use for authentication; provide a value when using the flag.",
      "SHOPIFY_FLAG_AUTH_ALIAS: Environment variable equivalent of `--auth-alias`; set it to the account alias to use.",
      "The flag is opted into `AppCommand`, `ThemeCommand`, and `organization list` only."
    ]
  },
  "why_it_matters": "Run app or theme development commands using a stored Shopify account alias without changing the current CLI session.",
  "sources": [
    "https://github.com/Shopify/cli/releases/tag/4.6.0",
    "https://github.com/Shopify/cli/pull/8026",
    "https://github.com/Shopify/cli/blob/4.6.0/packages/cli/README.md"
  ],
  "rank": 0.95033,
  "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-3fbe85e62061d099-8:gate",
    "evidence_hash": "c18f66bfdf0ef73e2b9944b21032f4440dc24250840bfdb8abfd9c6c04584085"
  },
  "review": {
    "draft_hash": "07942ca35dab6a86689846c013a46dcb40866bc35d2e77d253e0aae706493d69",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.78 (>= 0.6 needed)."
  }
}
