Install ServiceNow CLI on a Linux machine using the installer.

Before you begin

You must have a 64-bit version of a recent distribution of CentOS or Ubuntu.

Procedure

  1. In your browser, download the installer bundle from the ServiceNow Store.
  2. Extract the OS-specific installers.
  3. Open the snc-1.0.0-linux-x64-installer.run file.
  4. Follow the on-screen instructions.
    1. When prompted, ensure the Add to PATH option is selected.
      This option requires root account access.
  5. To verify that the installation succeeded, use the following commands.
    $ which snc
    
    ~/ServiceNow CLI/bin/snc
    
    $ snc version
    
    {
     "extensions": {},
     "snc": "1.0.0"
    }