Update Project Settings from the Vercel CLI
You can now update a project's framework preset and build settings directly from the Vercel CLI without opening the dashboard. The update command supports automatic detection, JSON output for automation and scripting, and validation before API calls are made.
You can now update a project's framework preset and build settings directly from the CLI, without opening the dashboard.
Run from a linked project, or pass a project name directly:vercel project update
Settings can also be returned to automatic detection instead of an explicit override:
For automation or further inspection, return the result as JSON:
JSON output includes whether anything changed, the list of changed settings, the project ID and name, and the requested settings. Output is written to stdout with no other output mixed in, so it's safe to pipe and parse.
Agents can use this to repair misconfigured projects end to end: after diagnosing a failed build, an agent can correct the framework preset, build command, or output directory and redeploy, without dashboard access. Invalid framework slugs and settings are rejected with suggestions before any API call is made.
Update the Vercel CLI to v54.21.1 or later with to get started. Learn more in the Vercel project .npm i -g vercel@latestdocumentation
Source: original entry ↗
More from Vercel
Follow Vercel to get its new changes in your feed and email digest.
Agents can now buy domains with the Vercel CLI
Vercel CLI now enables agents to discover, check availability, and initiate domain purchases through structured commands, with purchase confirmation remaining under user control via interactive terminal or dashboard approval.
New Pro teams default to 30-day deployment retention
Pro teams now default to a 30-day deployment retention period to balance keeping recent history available while reducing storage costs. You can configure a longer retention period in team settings if needed.
Deployment Storage billing begins for existing Pro teams
Pro teams will now be charged for Deployment Storage and Functions Storage at $0.10 per GB-month. The default deployment retention window changes to 30 days, with deployments older than 30 days deleted automatically unless you adjust your retention settings beforehand.