How to Update Vercel CLI

Update Vercel CLI using a package manager.

When there is a new release of the Vercel CLI available, you will see a message appear in your terminal output when running Vercel, letting you know that there is a newer version.

This guide will take you through your options for updating Vercel CLI using your preferred package manager.

Option 1: Updating via npm

If you have installed our command-line interface via npm, the easiest way to update it is by running the installation command yet again:

npm i -g vercel

Updating Vercel CLI using the npm command.

In the case that permission errors are preventing you from installing, please read npm's official guide about this problem.

Option 2: Updating via Yarn

If you have installed our command-line interface via Yarn, the easiest way to update it is by running the installation command yet again:

yarn global add vercel

Updating Vercel CLI using the yarn command.

In the case that permission errors are preventing you from installing, please read npm's official guide about this problem (Yarn depends on the same configuration).



Written By
Written by mcsdevmcsdev
Written by timothytimothy
Last Edited on July 17th 2020