{
  "slug": "shopify-app-init-supports-non-interactive-setup-6634e9da40cf",
  "title": "shopify app init supports non-interactive setup",
  "tools": [
    "shopify"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-04-02T16:09:20.000Z",
  "announced_at": "2026-04-02T16:09:20.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When initializing an app without prompts, provide `--name` and `--organization-id`; with a Partners token, `--name` can be used without the organization ID. Add `--template` and, for a multi-flavor template, `--flavor`.",
    "examples": [
      "shopify app init --organization-id <org-id> --name test --template remix --flavor javascript | cat",
      "shopify app init --organization-id <org-id> --name test --template none | cat",
      "export SHOPIFY_CLI_PARTNERS_TOKEN=<your-cli-token>\nshopify app init --name test --template none | cat"
    ],
    "gotchas": [
      "Version: 3.93.0",
      "--name=<value> / SHOPIFY_FLAG_NAME (required): Name for the new app; skips app selection and creates a new app with this name.",
      "--organization-id=<value> / SHOPIFY_FLAG_ORGANIZATION_ID (required): Organization ID; suppresses organization selection. Use the ID in the Dev Dashboard URL. Omit when using a Partners token.",
      "--template=<value> / SHOPIFY_FLAG_TEMPLATE (required): Template to use; accepts `reactRouter`, `remix`, `none`, or a GitHub repository reference.",
      "--flavor=<value> / SHOPIFY_FLAG_TEMPLATE_FLAVOR: Selects a flavor of the chosen template; provide it when the template offers multiple flavors.",
      "SHOPIFY_CLI_PARTNERS_TOKEN: Partners token that permits omitting `--organization-id` with `--name`.",
      "Prerequisite: Use Shopify CLI 3.93.0 or later for this change.",
      "Prerequisite: Install Node.js and npm or another package manager to use Shopify CLI.",
      "The organization ID must be supplied unless using a partners token.",
      "The organization ID can be found in the Dev Dashboard URL.",
      "Docs conflict: Current Shopify docs describe non-interactive requirements that differ from the 3.93.0 release: they say `--name` and `--organization-id` are required unless `--client-id` is supplied, and list different template options. This card reflects version 3.93.0."
    ]
  },
  "why_it_matters": "Initialize a new Shopify app in a script or agent workflow that must avoid interactive prompts.",
  "before": "`app init` had interactive prompts for organization selection, app selection/linking, and app naming that could not be bypassed.",
  "sources": [
    "https://github.com/Shopify/cli/releases/tag/3.93.0",
    "https://github.com/Shopify/cli/pull/6640",
    "https://github.com/Shopify/cli/blob/3.93.0/packages/cli/README.md",
    "https://github.com/Shopify/cli/tree/3.93.0"
  ],
  "rank": 0.99048,
  "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-cdfd5540a3039993-0:gate",
    "evidence_hash": "371fcbd8ee31c7919fbf7d234c61ec77f6fa96f5a5eeeb318b61b04b6498f41e"
  },
  "review": {
    "draft_hash": "143d84c5a6855e34b95a6b27de07bc700571e90e83c7fc5110581bd660000b12",
    "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.99 >= 0.9; 2 needed) and Jev gave 0.81 (>= 0.6 needed)."
  }
}
