# geni config get (/cli/config/get)



```sh
geni config get [key] [flags]
```

Prints the value the CLI would use right now. With no key, prints every settable key alongside its current value.

## Synopsis [#synopsis]

```sh
geni config get                     # all keys, table
geni config get apiUrl              # one value, bare
geni config get --json              # all keys, JSON
geni config get apiUrl --json       # one key, JSON
```

| Arg / Flag | Notes                                                     |
| ---------- | --------------------------------------------------------- |
| `[key]`    | One of `apiUrl`, `dashboardUrl`. Omit to list everything. |
| `--json`   | Machine-readable output.                                  |

## Output [#output]

```
KEY           VALUE
apiUrl        http://localhost:4111
dashboardUrl  http://localhost:5177
```
