Skip to content
Docs

inquir config set

Persist a CLI setting for the current credential environment.

@inquir/compute-cliv0.3.0 · Node.js 22+

Usage#

inquir config setbash
inquir config set <apiUrl|workspace|token|apiKey|autoUpdate> <value> [options]

Options#

OptionDescription
--env <name>Use a named CLI credential environment.

Global flags, environments and CLI credentials

Examples#

Example 1bash
inquir config set apiUrl https://api.inquir.org
Example 2bash
inquir config set autoUpdate false

Behavior#

apiUrl, workspace, token and apiKey are saved in the selected environment. autoUpdate is global and accepts true/false (also 1/0, on/off and yes/no).

Guides#