Upgrade the ServiceNow SDK
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.jsv20.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
Procedure
- Complete the following steps depending on whether you're updating a global installation of the ServiceNow SDK or the version used by an application.
| Option | Steps | ||
|---|---|---|---|
| Application package | 1. Open the `package.json` file for your application. 2. In the `devDependencies` object, update the versions of the `@servicenow/sdk` and `@servicenow/eslint-plugin-sdk-app-plugin` packages. For example: ```json "devDependencies": { "@servicenow/sdk": "| Global package | 1. Open a command-line tool on your system. 2. Change directories into the directory for your application using the `cd` command: ```cmd cd | What to do nextInstall 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. Parent Topic:Configuring the ServiceNow SDK Related topics Install the ServiceNow SDK in an application Install the ServiceNow Fluent Language server in Visual Studio Code |