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 and how to stay up-to-date.
Now Desktop updates Now CLI automatically when there is an update to install, so you never have to think about it again.
Now Desktop also lets you:
- Create deployments with drag-and-drop
- View your team’s event feed
To have automatic updates to Now CLI using Now Desktop, ensure that automatic updates are enabled from Now Desktop's settings menu:
As long as the update option is enabled, you will automatically receive the latest update for the Now CLI, as they are released.
If you don't have Now Desktop installed yet and would prefer to have automatic updates for Now CLI, you can install it here.
As of version 15.4.0 of Now CLI, you can update Now CLI with a single command:
Updating Now CLI with the
We do, however, recommend that you install Now Desktop for automatic updates to Now CLI.
If you have not yet updated to a version that supports the above command, you can also use any of the following methods:
Using Yarn, for the latest Now CLI update, run the following command from your terminal:yarn global add now
Using npm, for the latest Now CLI update, run the following command from your terminal:npm install -g now
With a fully up-to-date Now CLI, read the following resources for how you can deploy your applications and control them, all from the terminal.