# miniapps

## Description

* Remove one or more MiniApps from a given non-released native application version in a Cauldron
* Generate and publish a new Container version—so that the native applications can use the new Container version to access the new MiniApp that was added &#x20;

  **Note** The `ern cauldron del miniapps <miniapps..>` command can remove (from the native application version container) all native dependencies that are only used by the removed MiniApps. The `ern cauldron del miniapps <miniapps..>` command does not do native dependency cleanup.

## Syntax

`ern cauldron del miniapps <miniapps..>`

**Arguments**

`<miniapps..>`

* One or more package path to MiniApp(s) (delimited by spaces) to remove from a native application version in the Cauldron.

**Options**

`--containerVersion/-v <version>`

* Specify a version for the new container
* **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.

`--descriptor/-d <descriptor>`

* Remove the MiniApps from a given target native application version in the Cauldron matching the provided native application descriptor
* You can only pass a complete native application descriptor as the native dependencies removed using this command target only a specific single native application version. &#x20;

  **Default** Lists all non-released native application versions from the Cauldron and prompts you to choose one to remove from the MiniApps

`--resetCache`\\

* Indicates whether to reset the React Native cache prior to bundling
* **Default** false

## Remarks

* You don't need to run the `ern cauldron del miniapps <miniapps..>` command from within a MiniApp working directory.
* You don't need to provide a version for the MiniApp when using the `ern cauldron del miniapps <miniapps..>` command. The version is ignored because only one version of a given MiniApp can be present in a container at any given time.

## Related commands

[ern cauldron del dependencies](https://github.com/electrode-io/electrode-native/tree/b16ac1e6c3ae505c483bc01c01f4ca8a2c191c0b/docs/cli/cauldron/del/dependencies.md) | Manually cleanup native dependencies that are only used by the specified MiniApp


---

# 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.46/cli-commands/cauldron-del/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.
