Upgrade the ServiceNow SDK

  • Release version: Washingtondc
  • Updated January 30, 2025
  • 1 minute to read
  • Upgrade to the latest version of the ServiceNow SDK for use with instances beginning with the Washington DC release.

    Before you begin

    Your system must meet the following minimum requirements to use the latest version of the ServiceNow SDK:
    • Node.js v20.18.0
    • npm v8.19.3
    To install or upgrade Node.js or npm, see the installation instructions on the npm website.

    Role required: admin

    About this task

    If you previously installed the ServiceNow SDK on your system, you can upgrade to use the latest version.

    This procedure uses the ServiceNow SDK command-line interface (CLI). From a command-line tool, enter now-sdk --help to get information about the available commands and global options. To get additional information about a command and its parameters, enter the command and --help or -h. For example, now-sdk auth --help. For more information about the CLI, see ServiceNow SDK CLI.

    Procedure

    1. Open a command-line tool on your system.
    2. If the ServiceNow SDK was installed within an application rather than globally, change directories into the directory for your application using the cd command.
      cd <path/to/directory>
    3. Enter the following command to upgrade to the latest version of the ServiceNow SDK:
      now-sdk upgrade --debug true

    What to do next

    Install the ServiceNow Fluent Language server to get language processing and validation for ServiceNow Fluent in Visual Studio Code. For more information, see Install the ServiceNow Fluent Language server in Visual Studio Code.

    Use the ServiceNow SDK to authenticate to a ServiceNow instance. For more information, see Authenticating to a ServiceNow instance with the ServiceNow SDK.