# set

## Description

* Set the local platform configuration values stored in the `~/.ern/.ernrc` file &#x20;

## Syntax

`ern platform config set <key> <value>`

**Arguments**

`<key>`

* The key of the configuration element to set

`<value>`

* If specified, will set the config value associated to this key.&#x20;

**Configurable properties**

* `logLevel` \[trace|debug|info|error|fatal]\
  Set the log level to use for all commands.\
  **default** : info
* `showBanner` \[boolean]\
  Show the Electrode Native ASCII banner for all commands.\
  **default** : true
* `tmp-dir`\
  Temporary directory to use during commands execution.\
  **default** : system default
* `retain-tmp-dir` \[boolean]\
  If set to `true`, the temporary directories created during some commands execution, won't be destroyed after the command execution.\
  **default** : false
* `codePushAccessKey` \[string]\
  Code push access key associated with your account
* `codePushCustomServerUrl` \[string]\
  CodePush custom server url, in case you are not using the Microsoft CodePush server.
* `codePushProxy` CodePush proxy server url.
* `codePushCustomHeaders` CodePush custom extra http headers.
* `max-package-cache-size` \[number] The maximum disk space to use for the package cache, in Bytes.\
  Only apply if the package cache is enabled (`package-cache-enabled` configuration key set to `true`). **default** : 2GB
* `package-cache-enabled` \[boolean] Indicates whether the package cache should be enabled.\
  Enabling the package cache will lead to faster Containers generation, given that all packages versions used for a Container generation, will be retrieved from the cache if available rather than being downloaded upon every generation. **default** : true
* `ignore-required-ern-version` \[boolean] Indicates whether any Cauldron ern version requirement should be ignored. This is mostly used for Electrode Native development and should not be set to true otherwise. **default** : false

## Remarks

* In case a value already exists in the configuration for a given key, this command will not fail and will overwrite the existing value.


---

# 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.33/cli-commands/platform/config/set.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.
