---
name: provider-cache-hostname
description: The hostname of the Terragrunt Provider Cache server. By default, 'localhost'.
type: string
env:
  - TG_PROVIDER_CACHE_HOSTNAME
---

Sets the hostname for connecting to the Provider Cache server. This flag is only used when the [Provider Cache Server](/features/caching/provider-cache-server) is enabled.
