Docs
Config

geni config set

Write a value to the CLI config.

geni config set <key> <value>

Writes a config value. URLs are validated on write so malformed values fail loudly here rather than on the next command.

Synopsis

geni config set apiUrl http://localhost:4111
geni config set dashboardUrl http://localhost:5177
ArgNotes
<key>One of apiUrl, dashboardUrl. See config overview for what each controls.
<value>New value. URL keys must be valid http:// or https:// URLs.

Output

✓ Set apiUrl = http://localhost:4111

If you change apiUrl while signed in to a different server, you'll need to log out and back in for the change to take effect:

geni logout
geni login

On this page