# プレビューと本番デプロイのための Vercel CLI
プレビュー優先の流れとチームスコープ認証でフロントエンドをデプロイできます。
Agent Readiness Score: 78/100
Useful for deployment agents, but production commands need strict approval gates.
## Install

- npm: `npm i -g vercel`

## Structured output

Supported output formats: text, json.
Prefer structured output flags such as `--json`, `--format json`, or equivalent when available.

## Safe commands

- Pull environment: `vercel pull --yes --environment=preview` — Fetches project settings for local checks.

## Commands requiring approval

- Preview deploy: `vercel deploy --prebuilt` — requires-review; require explicit user approval.
- Production deploy: `vercel deploy --prod` — destructive; require explicit user approval.

## Agent instructions

- Codex CLI: Use Vercel CLI only after local checks pass. Create preview deployments first and ask before production deploy.

## Safety notes

- Agents should run local build checks before any deployment command.
- Preview deployments can still publish externally visible URLs; summarize the URL and logs after creation.
- Production deploys, env changes, domains, and team settings require explicit human approval.

## Metadata

Official URL: https://vercel.com/docs/cli
GitHub: https://github.com/vercel/vercel
Docs: https://vercel.com/docs/cli
