Skip to content
Docs

vercel upgrade

The vercel upgrade command upgrades the Vercel CLI on your machine to the latest version published to npm. It detects which package manager you used to install the CLI and runs the corresponding upgrade command. You can also use this command to enable or disable automatic updates.

Package-manager installations upgrade the vercel package, whether the CLI uses Node.js execution or native execution. If you installed the legacy @vercel/vc-native package directly, migrate to vercel before upgrading.

If vercel upgrade can't detect a supported global package-manager installation, it exits with an error. Update the CLI with the package manager that installed it. Use vercel upgrade --dry-run to inspect the upgrade command before running it.

terminal
vercel upgrade

Upgrade the Vercel CLI to the latest published version.

terminal
vercel upgrade

Upgrade the Vercel CLI to the latest published version using the package manager that installed it.

terminal
vercel upgrade --dry-run

Print the command that would be executed without making any changes.

terminal
vercel upgrade --enable-auto

Opt into automatic Vercel CLI updates for future releases.

terminal
vercel upgrade --disable-auto
Opt out of automatic updates.
terminal
vercel upgrade --format=json

Emit the upgrade plan as JSON. Implies --dry-run; no upgrade is performed.

These are options that only apply to the vercel upgrade command.

The --dry-run option prints the upgrade command that would be executed without running it.

terminal
vercel upgrade --dry-run
Show what would happen, without actually upgrading.

The --enable-auto option turns on automatic CLI updates for future releases.

terminal
vercel upgrade --enable-auto
Enable automatic updates.

The --disable-auto option turns off automatic CLI updates.

terminal
vercel upgrade --disable-auto
Disable automatic updates.

The --enable-binary option opts a package-manager installation into using its installed experimental native binary:

terminal
vercel upgrade --enable-binary
Enabling native execution when a native binary is installed.

This saves a runtime preference; it doesn't install a separate package. Keep optional dependencies enabled when installing vercel so the matching native package is available.

The --disable-binary option disables native execution and returns a package-manager installation to Node.js execution:

terminal
vercel upgrade --disable-binary
Disabling native execution through the Node.js launcher.

The package's Node.js launcher handles this recovery command even if the native binary can't start. If you set VERCEL_CLI_USE_NATIVE_BINARY=1 or true, remove that override so the saved opt-out takes effect.

The --format option, value json, emits the upgrade plan as JSON. This implies --dry-run, so no upgrade is performed.

terminal
vercel upgrade --format=json

Output the upgrade plan as JSON for scripting or agent workflows.

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

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

Last updated June 9, 2026

Was this helpful?

supported.