# dependencies

## Description

* Update the versions of one or more native dependencies in a non-released target native application version container (Cauldron) &#x20;
* Generate and publish a new Container version

## Syntax

`ern cauldron update dependencies <dependencies..>`

**Arguments**

`<dependencies..>`

* One or more dependencies (delimited by spaces) to update in a target native application version in the Cauldron.
* Only native dependencies that are not used by any MiniApp will be updated. It is not possible to update native dependencies used by one or more MiniApp(s).
* You can only update with native dependency versions that have been published to NPM.&#x20;
* You cannot use the `file` or `git` schemes for the dependency(ies).
* The version of each dependency is corresponding to the version to update to.&#x20;

**Example**

`ern cauldron update dependencies MyDependency@1.2.3`\
This example shows how to update the version of `MyDependency` to 1.2.3 in the native application version.

**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.

`--descriptor/-d <descriptor>`

* Update the native dependencies in a given target native application version in the Cauldron matching the provided native application descriptor &#x20;
* You can only pass a *complete native application descriptor* as the native dependencies updated 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 update.

## Remarks

* The `ern cauldron update dependencies <dependencies..>` command is rarely used. &#x20;
* Native dependency versions are automatically updated if necessary when adding or updating MiniApps using the `ern cauldron add miniapps` command and the `ern cauldron update miniapps` command &#x20;

## Related commands

\[ern cauldron add dependencies] | Add one or more new native dependencies

\[ern cauldron add dependencies]: ../add/dependencies.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.34/cli-commands/cauldron-update/dependencies.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.
