Install the UI component CLI extension

task brazil Updated Oct 24, 2026 1 min read install-ui-component-cli-extension.md
Raw file servicenow.com

Install the UI component extension to develop Next Experience UI Framework components with the ServiceNow CLI.

Before you begin

  • The ServiceNow CLI must be installed. See Install the ServiceNow CLI. To confirm installation, run the following command:

    Shell
    $ snc --help
  • Configure a default profile to enable the ServiceNow CLI to communicate with an instance. See Create a default profile.

Role required: admin

About this task

The UI component CLI extension provides the commands for developing Next Experience UI Framework components. Commands that connect to a ServiceNow instance use the default ServiceNow CLI profile.

Note:

If you use ServiceNow CLI version 1.1.0, you must pass the connection details with each command instead of using a profile.

Text
snc ui-component develop --loginHost <INSTANCE_URL> --username <USERNAME> --password <PASSWORD>

Procedure

  1. Install the extension by running the following command:

    Text
    snc extension add --name ui-component
  2. View the commands that the extension supports by running the following command:

    Text
    snc ui-component --help
  3. Update the extension when a new version is available by running the following command:

    Shell
    $ snc extension update --name ui-component
  4. Remove the extension by running the following command:

    Shell
    $ snc extension remove --name ui-component
Search documentation
Search document titles and file paths on the brazil branch