跳到正文

Vercel CLI 版本记录

Vercel Inc. · 通过终端部署、开发和管理 Vercel 项目。

Cask开发工具 1.7万
主页
安装命令
brew install --cask vercel
近 30 天安装
2,958
App榜第 151
近一年安装
4,520
365 天累计
最新版本
68.2.0
下载大小
55MB
tgz
更新节奏
每天
近 30 天 10 个版本
  1. 68.2.0macOS 13 起
  2. 68.0.0macOS 13 起
  3. 67.0.0macOS 13 起
  4. 66.6.0

    展开

    OpenNavo 编辑 Homebrew 收录

    兼容性macOS 13 起

    Vercel CLI 66.6.0 让你在没有 FLAGS_SECRET 时覆盖功能开关,加入隐藏的 OIDC 策略命令,并移除 vercel billing contract。

    开关
    没有 FLAGS_SECRET 也能覆盖功能开关。签名令牌有效 1 小时,最长 1 天。
    移除
    vercel billing contract 及其别名已删除。

    Vercel CLI 66.6.0 于 2026 年 11 月 20 日发布。从终端部署的人可以在没有 FLAGS_SECRET 时覆盖功能开关,账单合同命令被移除。

    来源:https://vercel.com/docs/cli/release-notes

    • 没有 FLAGS_SECRET 时,vercel flags override 会为一个项目环境签发覆盖。默认环境是 development,有效期 1 小时,最长 1 天。Flags SDK 接受 vercel-flag-overrides cookie 里的签名令牌,--decrypt 会打印这些覆盖。
    • 隐藏命令 vercel oidc-policies 可以列出、查看、创建、更新和删除团队给 Vercel CLI、Turborepo CLI 和 Vercel Container Registry 用的 OIDC 策略。不能读取自己团队的应用令牌也能用。
    • vercel billing contract 及其已弃用的别名 vercel contract 被移除。它们读取的 /v1/billing/contract-commitments 端点正在下线,没有替代命令。
  5. 66.2.0

    展开

    OpenNavo 编辑 Homebrew 收录

    兼容性macOS 13 起

    Vercel CLI 66.2.0 让人指定自定义环境里的 daemon,并从命令行查看或列出 AI Gateway 会话。

    Daemon
    --environment 指向自定义环境里的 daemon。
    网关
    sessions inspect 显示费用、token 和最后一次请求。sessions list 可按代理、密钥、模型和日期筛选。

    Vercel CLI 66.2.0 发布于 2026 年 11 月 18 日,让人从命令行管理 daemon 和 AI Gateway 会话。

    • vercel daemons 接受 --environment,按 slug 或 ID 列出、查看、扩缩和重启自定义环境里的 daemon。默认仍是 Production。
    • vercel ai-gateway sessions inspect 显示一个会话:请求数和失败数、第一次和最后一次请求、费用、token、缓存命中率、模型、供应商,以及最后一次请求的详情。
    • vercel ai-gateway sessions list 显示会话及其请求数和失败数、第一次和最后一次请求、费用、token、缓存命中率、模型和供应商。--agent、--api-key、--model、--provider 和 --project 缩小列表,--since 和 --until 限定范围。默认按最近活动排序。

    来源:https://vercel.com/docs/cli/release-notes

  6. 65.16.0macOS 13 起
  7. 65.15.0macOS 13 起
  8. 65.14.0macOS 13 起
  9. 65.12.1macOS 13 起
  10. 65.11.0macOS 13 起
  11. 65.9.0macOS 13 起
  12. 65.8.0

    展开

    OpenNavo 编辑 Homebrew 收录

    兼容性macOS 13 起

    该版本暂无编辑说明。

    说明
    该版本暂无编辑说明,待补充。

    该版本暂无编辑说明:官方变更记录尚未核对,留待后续补充。

    来源:待补充(该版本官方变更记录尚未核对)。

  13. 65.3.1macOS 13 起
  14. 65.0.0

    展开

    OpenNavo 编辑 Homebrew 收录

    兼容性macOS 13 起

    调整跟踪状态 JSON,统一部署选项,新增缓存身份查询、部署验证和开发隧道。

    65.0.0 官方变更节选。破坏性变更:traces inspect --json 的状态码改用 OpenTelemetry 的 Error、Ok、Unset 名称,脚本需调整比较逻辑。单部署选项统一为 --deployment,旧名称仍可用但提示弃用。whoami --json 新增 teams、cliVersion、linkedProject;新增 deploy --verify、whoami --cached 和 vc dev --tunnel。缓存身份不能证明登录仍然有效。修复缺少 startDevServer 的 Builder 在原生 vc dev 中的运行时启动器,并要求调度项具有名称。完整列表见官方对应版本章节。

    Source

  15. 64.5.0

    展开

    OpenNavo 编辑 Homebrew 收录

    兼容性macOS 13 起

    新增 vercel feedback 命令。

    新增 vercel feedback,用于向 Vercel 团队发送反馈。

    Source

  16. 64.0.2macOS 13 起 · Apple 芯片原生
  17. 58.4.0

    展开

    GitHub Release

    Minor Changes

    • a928d5a: Add vercel ai-gateway budgets defaults (list/set/remove) to manage per-scope AI Gateway budget defaults (project and api-key), each with its own limit and refresh period

    Patch Changes

  18. 58.3.0

    展开

    GitHub Release

    Minor Changes

    • 0f04613: Add vercel vcr permissions subcommands for managing which teams can pull images from a VCR repository: vcr permissions <repository> ls lists teams with access (by team slug), add and rm grant or revoke access for one or more teams (comma-separated team ids or slugs), and clear removes access for every team.

    • 17ee736: Replace the vercel-workers integration for Python queue subscribers and workflows with the new vercel-queue SDK:

      • [[tool.vercel.subscribers]] entrypoints are introspected at build time via vercel.queue.get_subscriptions() and served through generated vercel.queue.asgi_app() handler modules, with queue/v2beta triggers carrying the SDK-registered consumer groups and per-subscription tuning.
      • Celery and Dramatiq projects get the matching vercel-celery/vercel-dramatiq integration package injected automatically (bundled variant unless vercel-queue is an explicit dependency), in builds and in vercel dev.
      • [[tool.vercel.workflows]] entrypoints follow the SDK generation: projects on vercel >= 0.8.0 are served through vercel-queue like subscribers; older or undeterminable versions keep the legacy vercel-workers serving (worker env markers, injected pinned vercel-workers).
      • Projects that depend on vercel-workers directly keep the legacy integration wholesale: legacy subscriber schema, direct entrypoint serving, worker env markers.
      • vercel dev serves queue sidecars through vercel.queue.asgi_app() for new-SDK projects, and its queue broker delivers with the SDK-registered consumer groups introspected at sidecar startup (matching production trigger behavior); legacy projects keep the vercel-workers bootstrap.
      • The CLI no longer injects config.hasWorkerServices; the Python builder makes all queue-serving decisions from project metadata.
    • 5fc4930: Rename the vc edge-config command to vc global-config, keeping edge-config working as an alias for backwards compatibility.

    Patch Changes

  19. 58.1.0

    展开

    GitHub Release

    Minor Changes

    • be40159: Extend vercel ai-gateway api-keys create with --expiration and --alert-thresholds flags for parity with the create endpoint.
    • 4631896: Add vercel ai-gateway api-keys list, inspect, and remove subcommands so API keys can be listed, inspected, and deleted from the CLI.
    • 3b6b1e9: Add vercel ai-gateway leaderboard models, exposing the AI Gateway models usage leaderboard from the CLI. Supports --modality, --metric, and --date, a pretty table in interactive terminals with JSON by default when piped, --format table|json|csv, and --out to write the payload to a file.
    • 2b31684: Add vercel ai-gateway leaderboard labs, apps, and providers, completing CLI parity with the AI Gateway leaderboard export endpoint. labs mirrors the models time series (--modality/--metric/--date); apps and providers render the ranked top lists. All support --format table|json|csv and --out.
    • c6ed10a: Make --json the documented flag for commands that emit JSON while continuing to support --format json for backward compatibility.
    • 6322f45: Add vercel vcr build and vercel vcr push to build and push container images to the Vercel Container Registry using your local engine (docker/podman/buildah). Both default the repository to the project name and the tag to latest, assemble the full registry reference for you, and forward any arguments after -- to the engine. vcr build --push builds and pushes in one step with zstd compression enabled by default (Docker via Buildx, Podman/Buildah on push), and standalone vcr push compresses with zstd on Podman and Buildah.

    Patch Changes

    • f196f2e: Internal: add the AI Gateway leaderboard export client (util/ai-gateway/leaderboard.ts) and the shared CLI rendering engine (fetch, format resolution, table rendering, file output) used by the forthcoming ai-gateway leaderboard subcommands. No user-facing change yet.

    • 5b6256c: Replace the Builder peerDependencies with a builders manifest in package.json, pinned to exact workspace versions at pack time and used for Builder version resolution. Builders remain in dependencies.

    • eef1ae9: Remove the advanced settings prompt when creating a project.

    • a75c3ff: Help agents discover vercel curl when verifying deployments protected by Deployment Protection.

    • f2adf27: Add a --base-url flag to vercel ai-gateway coding-agents setup to point Codex and Claude Code at a different AI Gateway base URL (e.g. a preview deployment). When set, the value is written verbatim into each agent's config, so you own correctness when mixing API styles in one run.

      Codex and Claude Code now default to their gateway compatibility endpoints — https://ai-gateway.vercel.sh/codex/v1 and https://ai-gateway.vercel.sh/claude-code (Anthropic style, no /v1) — instead of the generic gateway URLs. Claude Code's settings also set CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1 so it discovers the gateway's model catalog. OpenCode and Pi are unaffected — they use their native gateway providers.

    • d05a16a: Decouple first-deployment framework detection from VERCEL_FRAMEWORK_DETECTION. First-deployment detection (auto-detecting the framework for a project's first deployment when none is configured) is now driven solely by VERCEL_FIRST_DEPLOYMENT; VERCEL_FRAMEWORK_DETECTION continues to gate only the end-of-build framework cross-check.

      Also adds a curl-based CLI e2e test (packages/cli/test/e2e-curl-deploy.test.ts) that uploads a zipped Node project to /v2/files, creates a deployment via /v13/deployments, waits for it to be READY, probes / for the expected response, and deletes the created project.

  20. 58.0.0

    展开

    GitHub Release

    Minor Changes

    • 843bb99: Support attaching Connect connectors to project custom environments by slug or stable ID.
    • d277bd9: Add custom-environment targeting for Connex trigger destinations.
    • 4502520: Support Node.js Routing Middleware entrypoints through proxy.entrypoint, with optional path matching through proxy.matcher. The matcher may be configured in the entrypoint source or vercel.json, but not both.
    • 506487b: Removed the VERCEL_TOML_CONFIG_ENABLED feature flag. vercel.toml configuration file support is now always enabled.

    Patch Changes

  21. 57.0.0

    展开

    GitHub Release

    Minor Changes

    • 7dd4301: Make service bindings type optional.

    Patch Changes

    • 3a066fe: Add a resolved attribute to the vc.importBuilders trace span recording each Builder's resolved version and source directory
    • b40db5b: Improve vc alerts and vc alerts rules output for custom alerts, including readable inspect views, custom alert rule filtering, compact rule tables, and normalized alert timestamps.
    • fca6de2: Added a notice when a project's first vercel deploy (without --prod) is assigned to production by the API. The notice explains that this is expected behavior for the first deployment and that future deployments will be preview deployments unless --prod is used. In non-interactive mode, the hint is included in the JSON payload and the "Promote to production" next command is omitted since the deployment is already production.
    • 6e29745: Gate the native CLI binary trampoline behind an explicit opt-in. The native @vercel/vc-native-* binary is only spawned when the user opts in via vercel upgrade --enable-binary (or the useNativeBinary global config flag); members of the vercel team are auto-opted-in when their teams are already loaded. Adds a zod-free @vercel/cli-config/paths subpath so the opt-in flag can be read on the CLI startup hot path without loading zod.
    • e4a7a58: Fix the native trampoline resolving the native binary through NODE_PATH: require.resolve() consults NODE_PATH and the global folders even when paths is given, so the native package is now located with an explicit walk up this install's own node_modules tree
    • a5439da: Expose pprState in vc logs output, alongside the existing cache status and reason, so users can see how a PPR page was served (fully_static / partially_dynamic / fully_dynamic).
    • 3540322: Preserve the selected team scope across re-authentication. vercel login no longer resets currentTeam to the default team when re-authenticating: the previous selection is kept when the authenticated user is still a member of that team, and only falls back to the default scope (with a warning) otherwise. vercel teams switch no longer hard-fails when the persisted team is stale (deleted or membership revoked), so it can always be used to switch away.
    • ae12b01: Expose the resolved rewrite destination as the request path observed by Python framework applications, and warn affected Python projects about the behavior change.
    • Updated dependencies [7dd4301]
    • Updated dependencies [bfa1873]
    • Updated dependencies [9a4f1e7]
    • Updated dependencies [6e29745]
    • Updated dependencies [ae12b01]
    • Updated dependencies [67d02cb]
  22. 56.5.0

    展开

    GitHub Release

    Minor Changes

    • ab9c775: Add vercel ai-gateway budgets set/list/remove commands

    Patch Changes

    • 83c72a4: Recover from sensitive Environment Variable step-up challenges in every command that fetches Environment Variables (vercel dev, vercel pull, vercel env run, vercel build, vercel link, OIDC token refresh), not just vercel env pull. The device-code re-authentication flow now lives at the shared env-records layer, so any challenge_required response triggers it when running interactively.
    • 4e9df75: Add vercel comments — a project-aware inbox for Vercel Toolbar comments. List unresolved comments for the linked project (focused on the current Git branch), inspect full threads, reply, resolve/reopen (optionally with a closing reply via -m), and edit/delete messages. Supports --format json with a stable envelope for scripting and agents.
    • b789421: Precompile vercel.json validation to improve CLI startup performance.
    • Updated dependencies [393645b]
    • Updated dependencies [41a3f2f]
  23. 56.4.1

    展开

    GitHub Release

    Patch Changes

    • c973e6b: Declare builders as optional peerDependencies and use the declared versions to pin dynamic Builder installs: bare specs install the version this CLI release was published with instead of latest, stale .vercel/builders copies are reinstalled, @vercel/build-utils is pinned to the CLI's own version, and post-install resolution failures now report a per-Builder reason instead of "Something went wrong!". Explicit Builder version pins are unchanged and always win. Builders remain in dependencies.
    • 604de7c: Do not emit curl request body flags for generated GET API requests.
    • 4486556: Suppress DEP0169 url.parse() deprecation warnings in the native binary
    • 48e840d: Fix an infinite launcher loop when vercel and @vercel/vc-native are both installed globally. The launcher no longer resolves a native binary when already running inside one (VERCEL_VC_NATIVE=1), and only resolves the native package from its own install tree, ignoring NODE_PATH.
    • 09f2642: Persist the rotated refresh token after the vc env pull step-up authentication. The step-up rotates the token pair server-side and revokes the previous refresh token, so keeping the old one caused subsequent step-ups to fail with Device authorization request failed and eventually forced a re-login.
    • 02c3933: Remove alias for flag evaluations