Vercel CLI
The official command-line tool provided by Vercel for operations such as logging in, local development, preview deployments and production releases. It can be installed globally via npm.
Core Facts
Timeline (last 90 days)
The `vercel firewall publish` command is used to push firewall rule changes to the production environment.
The `vercel firewall diff` command is used to show the differences between the local configuration and the configuration in effect online.
Vercel CLI supports blocking AI crawlers via the `vercel firewall rules edit ai-bots --category ai-crawlers --action deny --yes` command.
To use Mistral Large 4 in coding agent tools such as fx, Pi, Claude Code, Codex, and Cursor, you need to install the latest Vercel CLI and run `npx vercel ai-gateway setup`.
On the Virtual Models page, click Create Virtual Model, fill in the slug, select the underlying model, configure the required settings, and save to create a virtual model; it can also be created via the Vercel CLI command `vercel ai-gateway virtual-models create`.
For coding Agents, you first need to connect AI Gateway via `vercel ai-gateway setup`, then select the virtual model in the Agent's model selector or configuration.
The purpose of vercel vcr login is to write the registry credentials into Docker's credential store, so that subsequent docker push-type operations do not require manually entering the password.
Using the Vercel Container Registry requires installing Docker and the Vercel CLI, and running the commands vercel link, vercel vcr login and docker vercel vcr build docker . --push in sequence.
Previously, enabling Web Analytics or Observability Plus required developers to manually run commands in an interactive terminal.
Vercel's removal of the interactive terminal dependency this time is a step toward agent-friendly interfaces, enabling agents to invoke it reliably in unattended pipelines.
25 more timeline events
All Facts (20)
For coding agent tools such as Claude Code, Codex, and Cursor, you need to first install the latest version of Vercel CLI and run the 'vercel ai-gateway setup' configuration command.
65%UnverifiedThe `vercel firewall publish` command is used to push firewall rule changes to the production environment.
50%UnverifiedVercel CLI supports blocking AI crawlers via the `vercel firewall rules edit ai-bots --category ai-crawlers --action deny --yes` command.
50%UnverifiedThe `vercel firewall diff` command is used to show the differences between the local configuration and the configuration in effect online.
50%UnverifiedTo use Mistral Large 4 in coding agent tools such as fx, Pi, Claude Code, Codex, and Cursor, you need to install the latest Vercel CLI and run `npx vercel ai-gateway setup`.
50%UnverifiedOn the Virtual Models page, click Create Virtual Model, fill in the slug, select the underlying model, configure the required settings, and save to create a virtual model; it can also be created via the Vercel CLI command `vercel ai-gateway virtual-models create`.
50%UnverifiedFor coding Agents, you first need to connect AI Gateway via `vercel ai-gateway setup`, then select the virtual model in the Agent's model selector or configuration.
50%UnverifiedThe purpose of vercel vcr login is to write the registry credentials into Docker's credential store, so that subsequent docker push-type operations do not require manually entering the password.
50%UnverifiedUsing the Vercel Container Registry requires installing Docker and the Vercel CLI, and running the commands vercel link, vercel vcr login and docker vercel vcr build docker . --push in sequence.
50%UnverifiedPreviously, enabling Web Analytics or Observability Plus required developers to manually run commands in an interactive terminal.
50%UnverifiedVercel's removal of the interactive terminal dependency this time is a step toward agent-friendly interfaces, enabling agents to invoke it reliably in unattended pipelines.
50%UnverifiedVercel CLI is the official command-line tool provided by the Vercel platform, allowing developers to perform project deployment, environment variable management, domain configuration and other operations via the terminal.
50%UnverifiedIn a linked project directory, run the 'vercel project web-analytics enable' or 'vercel project observability enable' command to enable the corresponding feature.
50%UnverifiedDevelopers can query AI traffic metrics via Vercel CLI's vercel metrics command, for example using `vc metrics vercel.ai_traffic.count --group-by botName` to count requests grouped by bot name.
50%UnverifiedTo use GPT-6.1 Terra in agents such as Codex and Cursor, you can install the latest Vercel CLI and run npx vercel ai-gateway setup, then select openai/gpt-6.1-terra in the agent.
50%UnverifiedRunning AgentEnv evaluations on Vercel Sandbox can directly reuse the existing Vercel CLI login state without additional configuration of separate credentials.
50%UnverifiedTo use these new features, Vercel CLI must be updated to version 64.1.0 or higher.
50%UnverifiedCache size information can be obtained via the Vercel CLI's `vercel inspect` command, which requires version 65.1.0 or higher.
50%UnverifiedThe `vercel inspect` command accepts a deployment URL or deployment ID, and can attach build logs via the `--logs` parameter.
50%UnverifiedVercel CLI is the command-line tool officially provided by Vercel, installed globally via npm i -g vercel.
50%