Skip to content

ai config

The ai config command creates, queries, or deletes AI configuration data stored in AI configuration datastore files.

Usage

ai config [HIVE] [COMMAND] [@FILE] [...]

Options

Option Description
--set [NAME=]VALUE Sets the value for a configuration option.
--clear NAME Removes the value of a configuration option.
--add [NAME=]VALUE Adds a configuration option with the specified value.
--find NAME Finds a configuration option with the specified name.
--hive HIVE Specifies the configuration hive to use.

Hives

The HIVE parameter specifies the configuration data scope of use. HIVE can be one of the following values:

Hive Scope Description
. Current directory
local User's local configuration
user User-wide configuration
global Global configuration (requires permissions)

Examples

Set a configuration key
ai config --set key 436172626F6E20697320636F6F6C2121
Set a region
ai config --set region westus2
Query a configuration key
ai config @key