vercel setup
The vercel setup command prepares your machine for coding agents in two steps:
- Vercel plugin: Installs the Vercel plugin for Claude Code and Codex.
- AI Gateway: Connects your local coding agents to AI Gateway. This runs the same flow as
vercel ai-gateway setup.
The command prompts you before each step and skips agents it doesn't find on your machine.
vercel setupUsing the vercel setup command to install the Vercel plugin and connect
coding agents to AI Gateway.
vercel setup --gatewayvercel setup --plugin --agent codexvercel setup --dry-runThese are options that only apply to the vercel setup command.
The --plugin option runs only the Vercel plugin step.
vercel setup --pluginThe --gateway option runs only the AI Gateway step.
vercel setup --gatewayThe --agent option, value NAME, limits setup to one coding agent. Repeat it to select more than one. The values each step accepts are different:
- Vercel plugin:
claude-codeorcodex. - AI Gateway: any agent in the supported coding agents list, such as
cursororopencode.
vercel setup --agent claude-codeThe --dry-run option shows what would change without writing any files.
vercel setup --dry-runThe --yes option, shorthand -y, skips the confirmation prompts.
vercel setup --yesThe following global options can be passed when using the vercel setup command:
--cwd--debug--global-config--help--local-config--no-color--non-interactive--scope--team--token--version
For more information on global options and their usage, refer to the options section.
Was this helpful?