Title: UCS Application Builder CLI — UCS Tools Documentation

URL Source: https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html

Published Time: Thu, 30 Oct 2025 07:23:04 GMT

Markdown Content:
UCS Application Builder CLI[#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#ucs-application-builder-cli "Link to this heading")
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

The **UCS Application Builder CLI** tool helps you create and build applications. You can use it to list and view information about available microservices and perform NGC repository operations.

The tool is named `ucf_app_builder_cli`.

Basic Operations[#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#basic-operations "Link to this heading")
--------------------------------------------------------------------------------------------------------------------------------------------------------

### Viewing Help[#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#viewing-help "Link to this heading")

$ ucf_app_builder_cli -h
usage: ucf_app_builder_cli [-h] [-v] [-va] ...

positional arguments:

 app Perform actions on apps
 service Perform actions on a microservice
 registry Perform actions on registry

optional arguments:
 -h, --help show this help message and exit
 -v, --version Print MS Builder Version
 -va, --version-all Print all versions

### Checking the Tool Version[#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#checking-the-tool-version "Link to this heading")

$ ucf_app_builder_cli -v
Version:
 App Builder : v2.5.0

$ ucf_app_builder_cli --version-all
Versions:
 App Builder: v2.5.0
 UCF MS Spec: v2.5.0

Application Command `app`[#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#application-command-app "Link to this heading")
------------------------------------------------------------------------------------------------------------------------------------------------------------------------

The Application command `app` helps you create and build applications:

$ ucf_app_builder_cli app -h
usage: ucf_app_builder_cli app [-h] ...

positional arguments:

 create Create UCF application graph boilerplate
 build Build application from graph file and export to helm chart
 export-ms Create a microservice from the application

optional arguments:
 -h, --help show this help message and exit

### Create Application Boilerplate[#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#create-application-boilerplate "Link to this heading")

ucf_app_builder_cli app create [-h] [-o OUTPUT_DIR] name

positional arguments:
 name Application Name

optional arguments:
 -h, --help show this help message and exit
 -o OUTPUT_DIR Directory where the application should be created

Example:

$ ucf_app_builder_cli app create my-application

### Building an Application[#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#building-an-application "Link to this heading")

ucf_app_builder_cli app build [-h] [-o OUTPUT_DIR] [--ignore-validation-errors]
 [--keep-app-specs] [-f]
 [-v VALUE-OVERRIDE] [--generate-params-override]
 [--validated]
 app [params [params ...]]

positional arguments:
 app UCF Application Graph File or Directory Containing app.yaml
 params UCF Application Graph Parameters Files

optional arguments:
 -h, --help show this help message and exit
 -o OUTPUT_DIR Directory to build the application in
 --ignore-validation-errors
 Ignore validation errors and build applicatoin
 --keep-app-specs Retain app-specs used to create the application helmchart
 -f, --force-cleanup Output directory contents will be cleaned up without user confirmation
 -v VALUE-OVERRIDE, --value-override VALUE-OVERRIDE
 Input that provides the default values in the output value override file
 --generate-params-override
 Generate override values for those impacted by parameter file
 --validated Allows the user to build app using validated services only

Example:

$ ucf_app_builder_cli app build app.yaml params.yaml

### Exporting an Application as a microservice[#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#exporting-an-application-as-a-microservice "Link to this heading")

ucf_app_builder_cli app export-ms [-h] [-o OUTPUT_DIR] [--ignore-validation-errors] [-f] [--force-prod] -e EXPORT_INFO app [params [params ...]]

positional arguments:
 app UCF Application Graph File or Directory Containing app.yaml
 params UCF Application Graph Parameters Files

optional arguments:
 -h, --help show this help message and exit
 -o OUTPUT_DIR Directory to export the microservice in
 --ignore-validation-errors
 Ignore validation errors and build application
 -f, --force-cleanup Output directory contents will be cleaned up without user confirmation
 --force-prod Only microservices that are in prod should be selected
 -e EXPORT_INFO File containing additional user input required to export the application as a microservice

Service Command `service`[#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#service-command-service "Link to this heading")
------------------------------------------------------------------------------------------------------------------------------------------------------------------------

The Service command `service` helps you list and view information about available microservices:

$ ucf_app_builder_cli service -h
usage: ucf_app_builder_cli service [-h] ...

positional arguments:

 list List microservices
 versions List versions of a microservice
 info Info about a microservice
 sync Sync a microservice from NGC to cache

optional arguments:
 -h, --help show this help message and exit

### List Available Microservices[#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#list-available-microservices "Link to this heading")

ucf_app_builder_cli service list [-h] [-r REPO_NAME]

optional arguments:
 -h, --help show this help message and exit
 -r REPO_NAME, --repo-name REPO_NAME
 Select an repository name

Example:

$ ucf_app_builder_cli service list

### List Available Microservice Versions[#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#list-available-microservice-versions "Link to this heading")

ucf_app_builder_cli service versions [-h] -n NAME [-r REPO_NAME]

optional arguments:
 -h, --help show this help message and exit
 -n NAME, --name NAME Name of the microservice
 -r REPO_NAME, --repo-name REPO_NAME
 Select an repository name

Example:

$ ucf_app_builder_cli service versions -n ucf.svc.myservice

### View Microservice Information[#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#view-microservice-information "Link to this heading")

ucf_app_builder_cli service info [-h] [-v MS-VERSION] [--show-compliance-details] [--show-license] [--show-docs]
 [--show-changelog] -n NAME

optional arguments:
 -h, --help show this help message and exit
 -v MS-VERSION, --version MS-VERSION
 Version of the microservice to get info for
 --show-compliance-details
 Show compliance check details for the microservice
 --show-license Show license text for the microservice
 --show-docs Show detailed documentation for the microservice
 --show-changelog Show changelog for the microservice

required arguments:
 -n NAME, --name NAME name of the ms

Example:

$ ucf_app_builder_cli service info -n ucf.svc.myservice -v 0.0.1

### Synchronize a Microservice[#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#synchronize-a-microservice "Link to this heading")

ucf_app_builder_cli service sync [-h] -n NAME [-v MS-VERSION]

optional arguments:
 -h, --help show this help message and exit
 -v MS-VERSION, --version MS-VERSION
 Version of the microservice to sync (default: latest)

required arguments:
 -n NAME, --name NAME Name of the microservice to sync

Example:

$ ucf_app_builder_cli service sync -n ucf.svc.myservice -v 0.0.1

Registry Command `registry`[#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#registry-command-registry "Link to this heading")
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

The Registry command `registry` helps you perform various registry operations. You can set the NGC API Key, sync all microservices from an NGC repository, and manage cache:

$ ucf_app_builder_cli registry -h
usage: ucf_app_builder_cli registry [-h] ...

positional arguments:

 repo Registry repository operations
 cache Registry cache operations

optional arguments:
 -h, --help show this help message and exit

### Set NGC API Key[#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#set-ngc-api-key "Link to this heading")

ucf_app_builder_cli registry repo set-api-key [-h] -a API_KEY

optional arguments:
 -h, --help show this help message and exit

required arguments:
 -a API_KEY, --api-key API_KEY
 Select a API key

Example:

ucf_app_builder_cli registry repo set-api-key -a XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

### List Available Repositories[#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#list-available-repositories "Link to this heading")

ucf_app_builder_cli registry repo list [-h]

optional arguments:
 -h, --help show this help message and exit

Example:

ucf_app_builder_cli registry repo list

### View Information for a Repository[#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#view-information-for-a-repository "Link to this heading")

ucf_app_builder_cli registry repo info [-h] -n REPO_NAME

optional arguments:
 -h, --help show this help message and exit

required arguments:
 -n REPO_NAME, --repo-name REPO_NAME
 Select an repository name

Example:

ucf_app_builder_cli registry repo info -n public

### Synchronize All Microservices in a Repository[#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#synchronize-all-microservices-in-a-repository "Link to this heading")

ucf_app_builder_cli registry repo sync [-h] -n REPO_NAME [-a]

optional arguments:
 -h, --help show this help message and exit
 -a, --all Sync all versions of a microservice

required arguments:
 -n REPO_NAME, --repo-name REPO_NAME
 Select an repository name

Example:

ucf_app_builder_cli registry repo sync -n public

### Clear Local Repository[#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#clear-local-repository "Link to this heading")

ucf_app_builder_cli registry repo clear [-h]

optional arguments:
 -h, --help show this help message and exit

Example:

ucf_app_builder_cli registry repo clear

### Set the Registry Cache Path[#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#set-the-registry-cache-path "Link to this heading")

ucf_app_builder_cli registry cache set [-h] -p CACHE_PATH

optional arguments:
 -h, --help show this help message and exit

required arguments:
 -p CACHE_PATH, --cache-path CACHE_PATH
 Select a cache path

Example:

ucf_app_builder_cli registry cache set -p /home/ubuntu/ucf_cache

### View the Registry Cache Path[#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#view-the-registry-cache-path "Link to this heading")

ucf_app_builder_cli registry cache view [-h]

optional arguments:
 -h, --help show this help message and exit

Example:

ucf_app_builder_cli registry cache view

### Clear the Registry Cache[#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#clear-the-registry-cache "Link to this heading")

ucf_app_builder_cli registry cache clear [-h]

optional arguments:
 -h, --help show this help message and exit

Example:

ucf_app_builder_cli registry cache clear

Links/Buttons:
- [#](https://docs.nvidia.com/ucf/2.10.0/text/tools_reference/UCS_Tools_Reference_AppBuilder.html#clear-the-registry-cache)
