# vespa config get

[](/en/reference/clients/vespa-cli/vespa_config_get.html.md "View as Markdown") 

## vespa config get

Show given configuration option, or all configuration options

### Synopsis

Show given configuration option, or all configuration options.

By default, this command prints the effective configuration for the current application, i.e. it takes into account any local configuration located in [working-directory]/.vespa.

When default\_config\_scope is set to "local", this command shows only local configuration by default, if any local configuration is present.

```
vespa config get [option-name] [flags]
```

### Examples

```
$ vespa config get
$ vespa config get target
$ vespa config get --local
$ vespa config get --global
```

### Options

```
-g, --global Show global configuration, overriding default_config_scope
  -h, --help help for get
  -l, --local Show only local configuration, if any
```

### Options inherited from parent commands

```
-a, --application string The application to use. Format "tenant.application.instance" - instance is optional (tenant required for cloud targets)
  -C, --cluster string The container cluster to use. This is only required for applications with multiple clusters
  -c, --color string Whether to use colors in output. Must be "auto", "never", or "always" (default "auto")
  -i, --instance string The instance of the application to use
  -q, --quiet Print only errors
  -t, --target string The target platform to use. Must be "local", "cloud", "hosted" or an URL (default "local")
  -z, --zone string The zone to use. This defaults to a dev zone (cloud only)
```

### SEE ALSO

- [vespa config](vespa_config.html) - Manage persistent values for global flags

 Copyright © 2026 - [Cookie Preferences](#)

### On this page:

- [vespa config get](#page-title)
- [vespa config get](#vespa-config-get)
- [Synopsis](#synopsis)
- [Examples](#examples)
- [Options](#options)
- [Options inherited from parent commands](#options-inherited-from-parent-commands)
- [SEE ALSO](#see-also)

