> For the complete documentation index, see [llms.txt](https://native.electrode.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://native.electrode.io/v0.22/cli-commands/platform/config/set.md).

# 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` \[true|false]\
  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` \[true|false]\
  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

## Remarks

* The `ern platform config set <key> <value>` command is rarely used. &#x20;
* All current configuration values are already set and retrieved transparently through the use of commands that rely on the local platform configuration. &#x20;
* If a value is provided, the `ern platform config set <key> <value>` command sets the value associated with the given key with the specified value, overwriting any existing value stored for this key.
