Vercel CLI expands commands for DNS, domains, and projects
Mirrored from Vercel — AI for archival readability. Support the source by reading on the original site.
The Vercel CLI now provides dedicated commands for managing DNS records, domains, and projects. This brings more of the functionality available through the Vercel dashboard and API to the terminal, where it can be used interactively, in scripts, or by agents.
Copy link to headingInspect and update DNS records
Retrieve the complete configuration for a DNS record or update it in place using its record ID.
vercel dns inspect rec_123
vercel dns update rec_123 \ --value 76.76.21.21 \ --ttl 300vercel dns update supports changes to the record name, type, value, TTL, MX priority, and comment. SRV records can also be updated using their priority, weight, port, and target fields.
Copy link to headingRenew domains bought on Vercel
Renew a domain on demand or control whether it renews automatically.
vercel domains renew example.comvercel domains auto-renew example.com onvercel domains auto-renew example.com offThe renewal command displays the current renewal price and asks for confirmation before completing the purchase.
Copy link to headingControl project state and observability
Pause or resume a project and configure its observability features directly from the CLI. Web Analytics and Speed Insights could already be enabled from the CLI; they can now be disabled as well.
vercel project pausevercel project resume
vercel project observability enablevercel project observability disable
vercel project web-analytics disable
vercel project speed-insights disableCopy link to headingAdd and remove project members
Add a project member with a specific role or remove an existing member.
vercel project members add my-project user@example.com \ --role developer
vercel project members remove my-project user@example.comAll of the new commands support structured JSON output for scripts and agents. Billable or destructive actions require explicit confirmation.
Update to version 59.6.2 (or later) of the Vercel CLI to use the new commands:
npm i -g vercel@latestLearn more in the Vercel CLI documentation.
Discussion (0)
Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.
Sign in →No comments yet. Sign in and be the first to say something.