{
  "slug": "vercel-project-priority-requires-yes",
  "url": "https://insidetheloop.dev/fixes/vercel-project-priority-requires-yes",
  "markdown_url": "https://insidetheloop.dev/fixes/vercel-project-priority-requires-yes.md",
  "title": "Vercel CLI: \"Command `vercel project priority` requires confirmation\"",
  "description": "Vercel CLI 63.0.0+ suggests --yes for an unlinked headless run, then rejects it. Enable Priority interactively or in the dashboard.",
  "tool": {
    "id": "vercel",
    "name": "Vercel CLI",
    "long_name": "Vercel CLI (vercel, vc)",
    "url": "https://insidetheloop.dev/tools/vercel",
    "latest_version": "63.1.2"
  },
  "error": "Error: Command `vercel project priority` requires confirmation. Use option \"--yes\" to confirm.",
  "variants": [
    "✗ unknown or unexpected option: --yes"
  ],
  "output": "Vercel CLI 63.1.2 (Node.js 24.21.0)\nError: Command `vercel project priority` requires confirmation. Use option \"--yes\" to confirm.\nError: Link project error",
  "exit_code": 1,
  "command": "vercel project priority enable --token notarealtoken0000",
  "versions": {
    "affected": "63.0.0 and later",
    "first_bad": "63.0.0",
    "last_good": "62.7.0",
    "fixed_in": null,
    "tested": [
      "62.7.0",
      "63.0.0",
      "63.1.2"
    ]
  },
  "cause": "Vercel CLI 63.0.0 (released 2026-10-08) added `vercel project priority`; in a non-interactive run from an unlinked directory, the link guard suggests `--yes`, but the priority subcommand does not accept that flag and enabling Priority still requires interactive confirmation.",
  "fix": {
    "summary": "Run `vercel project priority enable` in an interactive terminal without `--yes`, or enable Priority in the Vercel dashboard.",
    "commands": [
      "# interactive terminal (confirm the paid upgrade without --yes):",
      "vercel project priority enable"
    ],
    "note": "Upgrading to Priority adds a paid feature that incurs billing charges on the account, so Vercel deliberately disallows non-interactive confirmation. The CLI option parser for `vercel project priority` only accepts `--format` and `--json`. If an automated agent or CI run encounters this error, do not pass `--yes`; direct the human user to run `vercel project priority enable` interactively from a linked directory, pass the project name if it is not linked, or enable Priority in Project Settings on the Vercel Dashboard."
  },
  "reproduction": {
    "ran_at": "2026-10-10T12:35:35Z",
    "environment": "A fresh Linux container from `bin/sandbox-run` (Node.js 24.21.0, root, online, no credentials for any service), destroyed after the run.",
    "steps": [
      {
        "label": "Before: subcommand does not exist",
        "version": "62.7.0",
        "command": "vercel project priority enable --token notarealtoken0000",
        "output": "Vercel CLI 62.7.0 (Node.js 24.21.0)\nError: Please specify a valid subcommand: inspect | list | members | accessGroups | add | access-summary | checks | protection | update | rename | remove | token | speedInsights | webAnalytics | pause | dangerously-delete-immutable-static-asset | observability | resume\n[… trimmed 94 lines …]",
        "exit": 2
      },
      {
        "label": "After: requires confirmation and tells caller to use --yes",
        "version": "63.0.0",
        "command": "vercel project priority enable --token notarealtoken0000",
        "output": "Vercel CLI 63.0.0 (Node.js 24.21.0)\nError: Command `vercel project priority` requires confirmation. Use option \"--yes\" to confirm.\nError: Link project error",
        "exit": 1
      },
      {
        "label": "Passing --yes is rejected as an unexpected option",
        "version": "63.0.0",
        "command": "vercel project priority enable --yes --token notarealtoken0000",
        "output": "Vercel CLI 63.0.0 (Node.js 24.21.0)\n✗ unknown or unexpected option: --yes\n  Vercel CLI 63.0.0 accepts: --api, --cwd, --debug, --format, --global-config, --help, --json, --local-config, --no-color, --non-interactive, --scope, --team, --token, --version.",
        "exit": 2
      },
      {
        "label": "Same in the latest release",
        "version": "63.1.2",
        "command": "vercel project priority enable --token notarealtoken0000",
        "output": "Vercel CLI 63.1.2 (Node.js 24.21.0)\nError: Command `vercel project priority` requires confirmation. Use option \"--yes\" to confirm.\nError: Link project error",
        "exit": 1
      },
      {
        "label": "Passing --yes is rejected in the latest release",
        "version": "63.1.2",
        "command": "vercel project priority enable --yes --token notarealtoken0000",
        "output": "Vercel CLI 63.1.2 (Node.js 24.21.0)\n✗ unknown or unexpected option: --yes\n  Vercel CLI 63.1.2 accepts: --api, --cwd, --debug, --format, --global-config, --help, --json, --local-config, --no-color, --non-interactive, --scope, --team, --token, --version.",
        "exit": 2
      },
      {
        "label": "Subcommand options confirm --yes is not supported",
        "version": "63.1.2",
        "command": "vercel project priority --help",
        "output": "Vercel CLI 63.1.2 (Node.js 24.21.0)\n\n  ▲ vercel project priority action [name] [options]\n\n  Upgrade a project to Priority, or remove that upgrade                         \n\n  Options:\n\n  -F,  --format <FORMAT>  Specify the output format (json)                      \n       --json             Output as JSON                                        \n[… trimmed 30 lines …]",
        "exit": 0
      }
    ]
  },
  "why": {
    "text": "The 63.0.0 release notes introduce \"vercel project priority enable to upgrade a project to Priority interactively in the terminal\" because upgrading to Priority incurs billing charges; while ensureLink prompts headless environments with a generic message suggesting \"--yes\", the priority subcommand options schema only defines --format and --json and intentionally lacks --yes.",
    "url": "https://vercel.com/docs/cli/release-notes#vercel@63.0.0",
    "source": "Vercel CLI 63.0.0 release notes"
  },
  "tool_page": "https://insidetheloop.dev/tools/vercel#gotcha-vercel-project-priority-enable-requires-confirmation-and-rejects-yes",
  "related": [],
  "sources": [
    {
      "title": "Vercel CLI 63.0.0 release notes",
      "url": "https://vercel.com/docs/cli/release-notes#vercel@63.0.0",
      "read": "2026-10-10"
    },
    {
      "title": "Vercel CLI on npm",
      "url": "https://www.npmjs.com/package/vercel/v/63.1.2",
      "read": "2026-10-10"
    },
    {
      "title": "Vercel CLI npm release metadata",
      "url": "https://registry.npmjs.org/vercel",
      "read": "2026-10-10"
    },
    {
      "title": "Vercel project CLI documentation",
      "url": "https://vercel.com/docs/cli/project",
      "read": "2026-10-10"
    }
  ],
  "date_published": "2026-10-10T12:35:35Z",
  "date_modified": "2026-10-10T12:42:41Z",
  "verified": {
    "date": "2026-10-10",
    "versions": [
      "62.7.0",
      "63.0.0",
      "63.1.2"
    ]
  }
}
