Install the ServiceNow CLI on Linux

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 1분
  • Install ServiceNow CLI on a Linux machine using the installer.

    시작하기 전에

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

    Role required: admin

    프로시저

    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"
      }