Last updated on February 8, 2023
2 min read
vercel removeLearn how to remove a deployment using the vercel remove CLI command.
vercel remove command, which can be shortened to
vercel rm, is used to remove deployments either by ID or for a specific Vercel Project.
Note: You can also remove deployments from the Project Overview page on the Vercel Dashboard.
vercel remove [deployment-url]
vercel remove [deployment-url-1 deployment-url-2]
vercel remove [project-name]
Note: By using the project name, the entire Vercel Project will be removed from the account unless the
These are options that only apply to the
vercel remove command, therefore, more information is provided.
--safe option, shorthand
-s, can be used to skip the removal of deployments with an active preview URL or production domain when a Vercel Project is provided as the parameter.
vercel remove my-project --safe
--yes option, shorthand
-y, can be used to skip the confirmation step for a deployment or Vercel Project removal.
vercel remove my-deployment.com --yes
The following global options can be passed when using the
vercel remove command:
For more information on global options and their usage, refer to the options section.