How to Update Now CLI
Update Now CLI using a package manager.
When there is a new release of the Now CLI available, you will see a message appear in your terminal output when running Now, letting you know that there is a newer version.
This guide will take you through your options for updating Now 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 now
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 now
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).