How to Update Now CLI

A guide to updating Now CLI using Now Desktop or 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 and how to stay up-to-date.

Option 1: Now Desktop

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.

Option 2: Updating Now CLI Manually

As of version 15.4.0 of Now CLI, you can update Now CLI with a single command:

now update

Updating Now CLI with the update command.

To update to the latest version of Now CLI yourself, you can use a package manager, such as Yarn or npm.

We do, however, recommend that you install Now Desktop for automatic updates to Now CLI.

Note: If you do not have Now CLI installed yet, see our download page.

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

Read Next

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.

Written By
Written by msweeneydevmsweeneydev
Written by timothytimothy
on March 20th 2019