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

## thv config unset-build-env

Remove build environment variable(s)

### Synopsis

Remove a specific build environment variable or all variables.

Examples:
  thv config unset-build-env NPM_CONFIG_REGISTRY  # Remove specific variable
  thv config unset-build-env --all                # Remove all variables

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

### Options

```
      --all    Remove all build environment variables
  -h, --help   help for unset-build-env
```

### Options inherited from parent commands

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

### SEE ALSO

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

