CLI for Managing Apps in Runtime Fabric | MuleSoft Documentation
# CLI for Managing Apps in Runtime Fabric
Use these commands for managing applications in Runtime Fabric.
Command | Description  
---|---  
runtime-mgr application delete |  Deletes an application  
runtime-mgr application deploy |  Deploys an application to a specified target using an Exchange application and runs the specified runtime version  
runtime-mgr application describe |  Describes an application  
runtime-mgr application describe-json |  Describes an application in a raw JSON response  
runtime-mgr application download-logs |  Downloads logs of an application from a specification to a specified directory  
runtime-mgr application list |  Lists all applications in an organization  
runtime-mgr application modify |  Modifies a deployed application  
runtime-mgr application start |  Starts a stopped application  
runtime-mgr application stop |  Stops running an application  
runtime-mgr application tail-logs |  Tails an application’s logs from a specification  
## runtime-mgr application delete
```
> runtime-mgr application delete [options] <appID>
```

Deletes the running application specified in `<appID>`. To get this ID, run the `runtime-mgr application list` command.
This command does not prompt twice before deleting. If you send a delete instruction, it does not ask for confirmation.   
---  
This command accepts only the default options: `--help`, `-f`/`--fields` and `-o`/`--output`
## runtime-mgr application deploy
```
> runtime-mgr application deploy [options] <appID> <deploymentTargetID> <runtimeVersion> <artifactID>
```

Deploys the application specified in `<appID>` to the deployment target specified using the following options:
Value | Description | Example  
---|---|---  
Artifact ID of the application retrieved from Exchange. |  `mule-test-plugin`  
`deploymentTargetID` |  ID of the deployment target. You can get this ID directly from Runtime Manager. |  `app.runetime`  
Name of the application to deploy. |  `testCloudhub2app`  
`runtimeVersion` |  Runtime version of the deployment target.  
Besides the default `--help`, `-f`/`--fields` and `-o`/`--output` options, this command also takes these options:
Value | Description | Example  
---|---|---  
`assetVersion` |  Version of the Exchange application to use. Default: latest application version  
Enables clustered nodes, which requires at least two replicas. Default:.`disabled` Supported values: `true`, `false`  
`disableAmLogForwarding` |  Disables forwarding applications logs to Anypoint Monitoring. Default: `enabled` Supported values: `true`, `false`  
`forwardSslSession` |  Enables SSL session forwarding. Default: `disabled` Values: `true`, `false`  
Group ID of the asset to deploy. Default: selected organization ID |  `org.mule.test`  
Set the name of the JAVA version to be used for the selected Mule version. Supported values are `8` and `17`. If you do not specify a value, Runtime Fabric imposes the default value. The default JAVA version for Mule 4.6 and earlier versions is '8'. If you don’t specify a Mule version, the default Mule version for the selected JAVA version is used. If the JAVA version you select is not available for the specified Mule version, you get an error.  
`lastMileSecurity` |  Enables Last Mile Security. Default: `disabled` Supported values: `true`, `false`  
The amount of memory allocated to each replica of a Mule application or API gateway.  
`objectStoreV2` |  Enables Object Store v2. Default: `disabled` Supported values: `true`, `false`  
Supplies the base path expected by the HTTP listener in your application. Format: must begin with `/` |  `/http://localhost:3000`  
Sets a property. Format: `name:value` |  `testproperty:true`  
`propertiesFile` |  Replaces all properties with values from a selected file. Format: one or more lines in `name: value` style |  `/Users/mule/Documents/properties.txt`  
`publicEndpoints` |  Supplies endpoints to reach via the public internet. Format: separated by commas, no spaces |  `my-superapp-example:/status?limit=10`  
`releaseChannel` |  Set the name of the release channel to be used for the selected Mule version. Supported values are `NONE`, `EDGE`, and `LTS`. If you do not specify a value, Runtime Fabric imposes the default value. The default release channel is `EDGE`. If you don’t specify a Mule version, the default Mule version for the selected release channel is used. If the selected release channel doesn’t exist, you get an error.  
Number of replicas. Must be above `0`. Default: `1`  
Size of replicas in Vcores. Default: `0.1`  
The amount of vCPU guaranteed to the application and reserved for its use.  
`scopeLoggingConfig` |  Defines scope logging. Format: `scopeName: logLevel`, separated by commas, no spaces |  `testscope1:WARN,testscope2:DEBUG`  
`scopeLoggingConfigFile` |  Uploads a file to define scope logging. Format: one tupple per line, style: `{scope: scopeName, logLevel: logLevelType}` enclosed with `{}` `()` or `[]` |  `/Users/mule/Documents/cert.txt`  
`updateStrategy` |  Updates the strategy used. Default: `rolling`  
The maximum amount of vCPU the application can use (the level to which it can burst). This is shared CPU on the worker node.  
## runtime-mgr application describe
```
> runtime-mgr application describe [options] <appID>
```

Displays information about the application specified in `<appID>`. To get this ID, run the `runtime-mgr application list` command.
This command accepts only the default options: `--help`, `-f`/`--fields` and `-o`/`--output`
## runtime-mgr application describe-json
```
> runtime-mgr application describe-json [options] <appID>
```

Displays a raw JSON response from the application specified in `<appID>`. To get this ID, run the `runtime-mgr application list` command.
This command accepts only the default options: `--help`, `-f`/`--fields` and `-o`/`--output`
## runtime-mgr application download-logs
```
> runtime-mgr application download-logs [options] <appID> <directory> <specID>
```

Downloads logs for the application specified in `<appID>` from the specification specified in `<specID>` to the selected directory.
To get the `<appID>`, run the `runtime-mgr application list` command.
To get the `<specID>` run the `runtime-mgr application describe` command.
This command accepts only the default options: `--help`, `-f`/`--fields` and `-o`/`--output`
## runtime-mgr application list
```
> runtime-mgr application list [options]
```

Lists all applications in your organization.
This command accepts only the default options: `--help`, `-f`/`--fields` and `-o`/`--output`
## runtime-mgr application modify
```
> runtime-mgr application modify [options] <appID> <certificateName>
```
Displays a raw JSON response from the application specified in `<appID>`. To get this ID, run the `runtime-mgr application list` command.
This command accepts only the default options: `--help`, `-f`/`--fields` and `-o`/`--output`
## runtime-mgr application download-logs
```
> runtime-mgr application download-logs [options] <appID> <directory> <specID>
```

Downloads logs for the application specified in `<appID>` from the specification specified in `<specID>` to the selected directory.
To get the `<appID>`, run the `runtime-mgr application list` command.
To get the `<specID>` run the `runtime-mgr application describe` command.
This command accepts only the default options: `--help`, `-f`/`--fields` and `-o`/`--output`
## runtime-mgr application list
```
> runtime-mgr application list [options]
```

Lists all applications in your organization.
This command accepts only the default options: `--help`, `-f`/`--fields` and `-o`/`--output`
## runtime-mgr application modify
```
> runtime-mgr application modify [options] <appID> <certificateName>
```

Updates the settings of an existing application specified in `<appID>`. To get the `<appID>`, run the `runtime-mgr application list` command.
Besides the default `--help`, `-f`/`--fields` and `-o`/`--output` options, this command also takes these options:
Value | Description | Example  
---|---|---  
ID of the application retrieved from Exchange. |  `mule-maven-plugin`  
`assetVersion` |  Version of the Exchange application to use. Default: latest application version  
Enables clustered nodes, which requires at least two replicas. Default: `disabled` Supported values: `true`, `false`  
`disableAmLogForwarding` |  Disables forwarding applications logs to Anypoint Monitoring. Default: `enabled` Supported values: `true`, `false`  
`forwardSslSession` |  Enables SSL session forwarding. Default: `disabled` Values: `true`, `false`  
Group ID of the asset to deploy. Default: selected organization ID. |  `org.mule.testgroup`  
`lastMileSecurity` |  Enables Last Mile Security. Default: `disabled` Supported values: `true`, `false`  
`objectStoreV2` |  Enables object store v2. Default: `disabled` Supported values: `true`, `false`  
Supplies the base path expected by the HTTP listener in your application. Format: must begin with `/` |  `/http://localhost:3000`.  
Sets a property. Format: `name:value` |  `testproperty:true`  
`propertiesFile` |  Replaces all properties with values from a selected file. Format: one or more lines in `name: value` style |  `/Users/mule/Documents/properties.txt`  
`publicEndpoints` |  Supplies endpoints to reach via the public internet. Format: separated by commas, no spaces |  `my-superapp-example: /status?limit=10`  
Number of replicas. Must be above `0`. Default: `1`  
Size of replicas in Vcores. Default: `0.1`  
`runtimeVersion` |  Runtime version of the deployment target.  
`scopeLoggingConfig` |  Defines scope logging. Format: `scopeName: logLevel`, separated by commas, no spaces |  `testscope1:WARN,testscope2:DEBUG`  
`scopeLoggingConfigFile` |  Uploads a file to define scope logging. Format: 1 tupple per line, style: `{scope: scopeName, logLevel: logLevelType}` enclosed with `{}` `()` or `[]` |  `/Users/mule/Documents/cert.txt`  
`updateStrategy` |  Updates the strategy used. Default: `rolling`  
## runtime-mgr application start
```
> runtime-mgr application start [options] <appid>
```

Starts running the application specified in `<appid>`. To get this ID, run the `runtime-mgr application list` command.
This command accepts only the default option `--help`.
## runtime-mgr application stop
```
> runtime-mgr application stop [options] <appID>
```

Stops running the application specified in `<appID>`. To get this ID, run the `runtime-mgr application list` command.
This command accepts only the default option `--help`.
## runtime-mgr application tail-logs
```
> runtime-mgr:application:tail-logs [options] <appID> <specID>
```

Tails application logs for the application specificied in `<appID>` from the specification specified in `<specID>`.
To get the `<appID>`, run the `runtime-mgr application list` command.
To get the `<specID>` run the `runtime-mgr application describe` command.
This command accepts only the default option `--help`.