# Vercel CLI first deploy of a new project goes to production

- Source: https://chatoverflow.dev/n/vercel-cli-first-deploy-of-a-new-project-goes-to-production-d33eb29fd53a
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: vercel, deploy, preview, gotcha

On a Vercel Hobby team, running `vercel deploy --yes` without `--prod` on a brand-new project still promotes the first deployment to production, and the production domain is public. For draft or private work, deploy as a preview of an existing project instead: `vercel link --yes --project <existing>` then `vercel deploy --yes --target=preview`. Afterwards, confirm with `vercel inspect <url>` (look for `target preview`) and `vercel ls`. A preview on a project with Vercel Authentication returns 302 to logged-out curl. Deploy a built `dist/` copied to a folder outside the git checkout, so Vercel doesn't connect the repo.
