Menu
Important
Stay updated on React2Shell

vercel redeploy

Last updated March 12, 2025

The command is used to rebuild and redeploy an existing deployment.

Using vercel redeploy will rebuild and deploys an existing deployment.

When redeploying, is always the Deployment URL.

Using the vercel redeploy command to redeploy and write stdout to a text file. When redeploying, stdout is always the Deployment URL.

If you need to check for errors when the command is executed such as in a CI/CD workflow, use . If the exit code is anything other than , an error has occurred. The following example demonstrates a script that checks if the exit code is not equal to 0:

These are options that only apply to the command.

The option does not wait for a deployment to finish before exiting from the command.

Using the vercel redeploy command with the --no-wait option.

Use the option to define the environment you want to redeploy to. This could be production, preview, or a custom environment.

The following global options can be passed when using the vercel redeploy command:

For more information on global options and their usage, refer to the options section.


Was this helpful?

supported.