# 使用 Homebrew Cask 安装 vercel

查看 vercel 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install cask:vercel
```

其他安装命令:

### macOS

- Homebrew Cask (100%):

```sh
brew install --cask vercel
```

  证据: local Homebrew cask metadata

## 软件包事实

- **软件包键:** cask:vercel
- **软件包管理器:** Homebrew Cask
- **软件包管理器页面:** <https://formulae.brew.sh/cask/vercel>
- **版本:** 65.9.0
- **来源摘要:** Command-line interface for Vercel
- **主页:** <https://vercel.com/docs/cli>
- **上游文档:** <https://vercel.com/docs/cli>
- **源码归档:** <https://registry.npmjs.org/@vercel/vc-native-darwin-arm64/-/vc-native-darwin-arm64-65.9.0.tgz>
- **已生成:** 2026-11-04T12:20:42+00:00

## 可执行文件

- vercel (二进制)
- vercel (二进制)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-11-04
- 管理器版本: 65.9.0
- 本地数据: OK
- 上游仓库: https://vercel.com/docs/cli
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Vercel CLI is the command-line client for deploying, developing, linking, inspecting, and operating projects on Vercel. The `vercel` and `vc` executables expose both interactive developer workflows and token-based automation for CI/CD.

### 项目历史

The official repository dates to 2016 and grew into a large TypeScript-centered monorepo for Vercel's CLI, builders, runtimes, and related packages. The regular CLI continues to be distributed as the `vercel` npm package, with separate native CLI binaries offered as an explicit alternative.

### 采用历史

The CLI evolved with Vercel's deployment platform: version 24 in 2022 stabilized `vercel dev` and moved most CLI code to TypeScript; version 28 added deeper Git metadata and project-linking workflows. Later releases added a device-flow login, direct API access, agent-oriented historical logs, and local-directory scoping.

### 使用方式

Developers use `vercel` to deploy the current project, `vercel dev` to emulate the platform locally, and `vercel link` or `.vercel/project.json` to bind a directory to a remote project. Operational commands cover domains, DNS, environment variables, logs, deployments, rollbacks, integrations, and authenticated API requests.

### 为什么软件包爱好者会关心

Vercel CLI is a prominent npm-installed cloud CLI whose long-running command surface tracks the shift from simple frontend deployment toward a broad programmable platform. Package users care about its dual `vercel`/`vc` commands, project-local state, cross-platform XDG-derived global state, rapid release cadence, and growing native-binary option.

### 时间线

- 2016: Official repository established.
- 2022-02-17: Vercel CLI v24 released; `vercel dev` became stable.
- 2022-08-12: Vercel CLI v28 released with expanded Git and linking behavior.
- 2025-09-12: OAuth 2.0 Device Flow became the CLI login path.
- 2026-01-27: `vercel api` added direct authenticated API access.
- 2026-02-10: `vercel logs` gained historical, agent-oriented querying.

### Related projects

- The repository also contains Vercel builders, runtimes, and platform packages; the CLI works closely with Git providers, the Vercel REST API, framework build outputs, and the separately distributed `@vercel/vc-native` binaries.

### 来源

- <https://github.com/vercel/vercel>
- <https://vercel.com/changelog/introducing-the-vercel-api-cli-command>
- <https://vercel.com/changelog/new-vercel-cli-login-flow>
- <https://vercel.com/changelog/vercel-cli-v24>
- <https://vercel.com/changelog/vercel-cli-v28>
- <https://vercel.com/docs/cli>


## 安全说明

没有找到 vercel 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Linux: ~/.local/share/com.vercel.cli/config.json
- macOS: ~/Library/Application Support/com.vercel.cli/config.json
- Windows: %APPDATA%\Roaming\xdg.data\com.vercel.cli\config.json

## Credential files

- Linux: ~/.local/share/com.vercel.cli/auth.json
- macOS: ~/Library/Application Support/com.vercel.cli/auth.json
- Windows: %APPDATA%\Roaming\xdg.data\com.vercel.cli\auth.json
## 源数据库详情

- **Source Database:** Homebrew cask API
- **Tap:** homebrew/cask
- **Full Token:** vercel
- **Names:** Vercel CLI
- **Old Tokens:** vercel-cli
- **Depends On:** Macos: >=: 13
- **Artifacts:** Binary: 2, Target: 2, Zap: 1
- **Deprecated:** no
- **Disabled:** no


## 相关链接

- [Homebrew Cask packages](https://pkg.so/zh-hans/homebrew-cask-packages/) - Generated from Homebrew Cask package-manager metadata.
- [Homebrew Cask binaries](https://pkg.so/zh-hans/homebrew-cask-binaries/) - Cask artifact metadata includes a binary.
- [netlify-cli](https://pkg.so/zh-hans/brew/netlify-cli/) - Choose Netlify CLI when the target hosting platform is Netlify and local development must reproduce Netlify redirects, edge logic, environment variables, and Functions.

  来源: <https://vercel.com/docs/cli> · <https://docs.netlify.com/api-and-cli-guides/cli-guides/get-started-with-cli/> · <https://docs.netlify.com/api-and-cli-guides/cli-guides/local-development/>
- [cloudflare-wrangler](https://pkg.so/zh-hans/brew/cloudflare-wrangler/) - Choose Wrangler for Cloudflare Workers and Pages projects that need Cloudflare-specific local development, configuration, deployment, and resource management.

  来源: <https://vercel.com/docs/cli> · <https://developers.cloudflare.com/workers/wrangler/> · <https://developers.cloudflare.com/workers/wrangler/commands/workers/>
- [vercel](https://pkg.so/zh-hans/brew/vercel/) - Same normalized package name exists in another local package ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/vercel.yml](https://github.com/mxcl/pkgdb/blob/main/combined/vercel.yml)


## 来源

- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
