---
sourceDocument: Australia Build or modify applications
sourceDocumentLink: https://www.servicenow.com/docs/r/application-development

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Build and install an application

# Build and install an application with the ServiceNow SDK {#ariaid-title1}

* Release version: Australia
* 
* Updated March 12, 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Build and install a local application developed with the ServiceNow SDK on a ServiceNow instance.

## Before you begin

Add an application to your local system with the ServiceNow SDK. For more information, see [Adding applications with the ServiceNow SDK](https://www.servicenow.com/docs/q_z8XVTQU_O3sDIGuT5prA "Add applications to your local system to get started with development in source code with the ServiceNow SDK.").

Role required: admin

## About this task

This procedure uses the ServiceNow SDK command-line interface (CLI). From a command-line tool, enter `now-sdk --help` to get information about the available commands and global options. To get additional information about a
command and its parameters, enter the command and `--help` or `-h`. For example, `now-sdk auth --help`. For more information about the CLI, see [ServiceNow SDK CLI](https://www.servicenow.com/docs/1MO9bmCip~e_esXKiwLOVQ#servicenow-sdk-cli-commands "Use the ServiceNow SDK command-line interface (CLI) to manage changes between a local application and the application on an instance.").  
Note:  
To build global applications with the ServiceNow SDK, you should use Node Package Manager (npm) as your package manager, especially if your application has more complex dependencies.

## Procedure

1. In Visual Studio Code, open your scoped application directory.
2. From the application directory, open an integrated Terminal window.
3. Download changes to the application from the instance with the `transform` command to stay up to date with changes locally.  

       now-sdk transform --auth <alias>

   Changes to application metadata are downloaded and synchronized into source code. If metadata exists in the local application as both XML and source code, the XML version takes precedence when installed on the instance.  
   Note:  
   Updates to JavaScript modules aren't included when downloading application metadata from your instance.
4. Build your application using the `build` command.  

       now-sdk build

   The build artifacts are output to the dist/app directory, including the metadata as XML files in the dist/app/update directory.
5. Install your application using the `install` command.  

       now-sdk install --auth <alias>

   Warning:  
   If you set the `--reinstall` parameter to true with the `install` command, application metadata created by other developers on your instance can be removed. Any application metadata on your instance that is not present in the local installment package generated during the build process is removed during installment. Before building your application, use the `now-sdk transform` command to synchronize your local metadata with the metadata on your instance.

## Result

The application is updated on your instance to reflect your local changes. ServiceNow Fluent code is compiled into application metadata, and modules in the application are added to the EcmaScript Module \[sys_module\] table on the instance.  
Note:  
If you have previous versions of modules in the EcmaScript Module \[sys_module\] table that aren't needed, re-installing an application removes previous versions of the application's modules from the table.

