Skip to main content
Configuration is available from version 1.0.3.
NativeCLI provides a way to configure certain behaviors within the application. You are able to configure both a global configuration and a local, project-specific configuration.
If you only provide the key, the value will be output. If you provide both the key and value, the value will be set.

Global Configuration

Syntax:
nativecli config --global [KEY] [VALUE]

Local Configuration

Syntax:
nativecli config [KEY] [VALUE]
Note the only difference is the --global flag.

Options

-g, —global

Sets a global configuration option. This will affect all projects where a local configuration has not overridden it.

Available Configuration Options

updates.check

This option controls whether NativeCLI will check for updates when it is run. The default is true.

updates.auto

This option controls whether NativeCLI will automatically update itself when a new version is available. The default is false.

Examples

Set the global configuration option updates.check to false:
nativecli config --global updates.check false
Get the current value of updates.check:
nativecli config updates.check