# miniapps

## Description

* Update one or more MiniApps versions in a non-released native application version in a Cauldron &#x20;
* Perform multiple checks, including MiniApp dependencies analysis, to ensure compatibility with the target native application container &#x20;
* Generate and publish a new Container version &#x20;

## Syntax

`ern cauldron update miniapps <miniapps..>`

**Arguments**

`<miniapps..>`

* One or more package path to MiniApp(s) (delimited by spaces) to update in a target native application version in the Cauldron.
* The following types of MiniApp paths are not supported by this command :
  * File path (ex `file://Users/foo/MiniApp`)
  * Git path missing branch/tag or commit sha (ex: `https://github.com/foo/MiniApp.git`)
  * Registry path missing version (ex: `MiniApp`)
  * Registry path using a version range (ex: `MiniApp@^1.0.0`)
* Can also be set to **all** . In this case, all MiniApps will be updated to a single specific version specified by the `--targetVersion` option.

**Options**

`--containerVersion/-v <version>`

* Specify a version for the new container &#x20;
* **Default**  Incremental patch number of the current container version &#x20;

  Example: If the current container version is 1.2.3 and a version is not included in the command, the new container version will be 1.2.4. &#x20;

`--descriptor/-d <descriptor>`

* Update the MiniApps to a given target non-released native application version in the Cauldron matching the provided native application descriptor. &#x20;
* You can only pass a complete native application descriptor as the MiniApps updated using this command targets only a specific single native application version.\
  **Default** Lists all non-released native application versions from the Cauldron and prompts you to choose a descriptor.

  `--targetVersion`

  * Only used when running **ern cauldron update miniapps all**.
  * The target version to update all MiniApps to.

## Remarks

* If one MiniApp does not pass compatibility checks, the command will fail

## Related commands

\[ern cauldron add miniapps] | Add one or more new MiniApps to a native application version

\[ern cauldron add miniapps]: ../add/miniapps.md


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://native.electrode.io/v0.36/cli-commands/cauldron-update/miniapps.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
