You can now update a project's framework preset and build settings directly from the CLI, without opening the dashboard.
Run vercel project update from a linked project, or pass a project name directly:
▲ vercel project update my-project --framework nextjs --build-command "pnpm build"
✓ Updated Project Settings
Project my-project
Framework Vite ( vite ) → Next.js ( nextjs )
Build Command npm run build → pnpm build
Settings can also be returned to automatic detection instead of an explicit override:
vercel project update my-project --auto-detect build-command,output-directory
For automation or further inspection, return the result as JSON:
vercel project update my-project --framework vite --format = json
JSON output includes whether anything changed, the list of changed settings, the project ID and name, and the requested settings.…