Skip to content
Dinvolt
Esc
↑↓navigate↵open⌘Jpreview
On this page

vercel setup

dinvolt vercel setup

Connect Vercel after publishing your repository’s main branch:

npx dinvolt vercel setup
bunx dinvolt vercel setup
pnpm dlx dinvolt vercel setup
yarn dlx dinvolt vercel setup

The wizard selects a team and project, reviews environment variables and connects Git. Connecting Git may trigger an initial build. Prepare your database and published code first.

For prerequisites, environment mapping and step-by-step instructions, see Deploy with Vercel.

Run without prompts

Authenticate separately with the Vercel CLI or VERCEL_TOKEN, then provide a team, an existing or new project, an origin and --apply:

npx dinvolt vercel setup --team my-team --project my-project \
  --origin https://my-project.vercel.app --apply --json
bunx dinvolt vercel setup --team my-team --project my-project \
  --origin https://my-project.vercel.app --apply --json
pnpm dlx dinvolt vercel setup --team my-team --project my-project \
  --origin https://my-project.vercel.app --apply --json
yarn dlx dinvolt vercel setup --team my-team --project my-project \
  --origin https://my-project.vercel.app --apply --json
Option Purpose
--team <id-or-slug> Vercel team. Required without prompts.
--project <id-or-name> Existing project. Must match any local link.
--new-project <name> Create a project. Use instead of --project.
--origin <url> Verified public HTTPS production origin. Required without prompts.
--apply Apply changes and connect Git. Required without prompts.
--git-remote <name> Git remote. Required when several exist.
--preview / --no-preview Configure staging-backed Preview, or Production only (default without prompts). Existing Preview settings are preserved.
--add-domain Associate the origin. Domain ownership and DNS must be ready.
--replace <entries> Replace listed target:KEY variables. Preserve others.
--email-file <path> Private password-recovery settings for admin projects.

See Vercel automation for variable replacement and email-file examples.

Was this page helpful?