---
title: thv config get-build-env
hide_title: true
description: Reference for ToolHive CLI command `thv config get-build-env`
last_update:
  author: autogenerated
slug: thv_config_get-build-env
mdx:
  format: md
---

## thv config get-build-env

Get build environment variables

### Synopsis

Display configured build environment variables.
If a KEY is provided, shows only that specific variable.
If no KEY is provided, shows all configured variables.

Examples:
  thv config get-build-env                    # Show all variables
  thv config get-build-env NPM_CONFIG_REGISTRY  # Show specific variable

```
thv config get-build-env [KEY] [flags]
```

### Options

```
  -h, --help   help for get-build-env
```

### Options inherited from parent commands

```
      --debug   Enable debug mode
```

### SEE ALSO

* [thv config](thv_config.md)	 - Manage application configuration

