Configuration
NativeCLI provides a way to configure certain behaviours within the application.
You are able to configure both a global configuration and a local, project-specific configuration.
Global Configuration
Command
Syntax:
nativecli config --global [KEY] [VALUE]
Local Configuration
Syntax:
nativecli config [KEY] [VALUE]
Options
Describe what each option is used for:
- -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
Last modified: 12 February 2025