# Vercel CLI can now set new projects to expire

DevFeed: [Vercel CLI can now set new projects to expire](<https://devfeed.tech/articles/vercel-cli-can-now-set-new-projects-to-expire-121600.md>)

Original publisher: [Read original article](<https://vercel.com/changelog/vercel-cli-can-now-set-new-projects-to-expire>)

Author: Thibault Miranda de Oliveira

Published: 2026-11-06T18:00:00Z

Content type: release

Language: en

Sources: [Vercel News](<https://devfeed.tech/sources/vercel-news.md>)

Topics: [Vercel](<https://devfeed.tech/topics/vercel.md>)

Tags: [automatically](<https://devfeed.tech/tags/automatically.md>), [cli](<https://devfeed.tech/tags/cli.md>), [delete](<https://devfeed.tech/tags/delete.md>), [deploy](<https://devfeed.tech/tags/deploy.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [doesn-t](<https://devfeed.tech/tags/doesn-t.md>), [don-t](<https://devfeed.tech/tags/don-t.md>), [existing](<https://devfeed.tech/tags/existing.md>), [expire](<https://devfeed.tech/tags/expire.md>), [flag](<https://devfeed.tech/tags/flag.md>), [projects](<https://devfeed.tech/tags/projects.md>), [update](<https://devfeed.tech/tags/update.md>), [vercel](<https://devfeed.tech/tags/vercel.md>)

## AI overview

Vercel CLI can automatically delete a newly created project after a chosen duration. Use `vercel deploy --delete-project-after` with `1h`, `1d`, `1w`, `2w`, or `30d`; the CLI reports the scheduled expiration date and time. The flag only applies when the deploy creates a project. For an existing project, expiration is unchanged and the CLI warns. Remove an expiration with `vercel project keep my-project`. Requires Vercel CLI v65.12.0 or later.

## Source excerpt

You can now set a new project to expire when you deploy it with Vercel CLI. Expired projects are deleted automatically, so prototypes, demos, and test apps don't need cleaning up by hand. Run vercel deploy with --delete-project-after and a duration: Supported durations are 1h, 1d, 1w, 2w, and 30d, and the CLI prints the date and time when the project expires. The flag only applies when vercel deploy creates the project. If you deploy to an existing project with the flag, its expiration doesn't change and the CLI prints a warning. To remove a project's expiration, run vercel project keep: Update Vercel CLI to v65.12.0 or later to get started. Learn more in the vercel deploy documentation. Read more