Manage ServiceNow CLI extensions

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • Add extensions to the ServiceNow CLI to load additional functionality and commands, update existing extensions, or remove extensions you no longer need.

    Avant de commencer

    Role required: none.

    Procédure

    1. Find available extensions.
      1. Open your system's command-line tool and execute this command.
        $ snc extension list-available -o table
        The system lists available extensions and associated details.
        NAME       DESCRIPTION                                    VERSION            INSTALLED 
        --------------------------------------------------------------------------------------
        ui-component        Build and deploy components                  19.0.0-alpha.15     false 
    2. Install an extension.
      1. Open your system's command-line tool and execute this command.
        $ snc extension add --name <extension-name>
    3. Facultatif : Update an extension.
      1. Open your system's command-line tool and execute this command.
        $ snc extension update --name <extension-name>
    4. Facultatif : Remove an extension.
      1. Open your system's command-line tool and execute this command.
        $ snc extension remove --name <extension-name>