# Config (/cli/config)



`geni config` stores defaults the CLI uses when nothing more specific is set. Mainly useful for pointing the CLI at a self-hosted or local-dev server without re-passing `--server` on every command.

* [`geni config set`](/cli/config/set) — write a config value.
* [`geni config get`](/cli/config/get) — print one value, or every settable key.
* [`geni config unset`](/cli/config/unset) — remove a value.
* [`geni config path`](/cli/config/path) — print the absolute path to the config file.

## Settable keys [#settable-keys]

| Key            | Effect                                                                               |
| -------------- | ------------------------------------------------------------------------------------ |
| `apiUrl`       | Override for the cloud API base URL used at `geni login` time.                       |
| `dashboardUrl` | Override for the dashboard base URL used by browser-opening commands like `connect`. |

Both keys are optional. Anything you don't set falls back to a sensible default.
