> ## Documentation Index
> Fetch the complete documentation index at: https://enterprise-docs.dify.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Dify Helm Chart

## Requirements

* Kubernetes 1.24+
* Helm 3.14+
* `Warning`: If you are using a restricted environment (like OpenShift), make sure pods are allowed to run as `root`.

## Quick Start

### Helm Chart Repository

You can use the following command to add the Dify Helm chart repository:

```bash theme={null}
helm repo add dify https://langgenius.github.io/dify-helm
```

### Installation or Upgrade

For the first time installation or upgrade Dify, you can use the following command:

```bash theme={null}
helm repo update
helm search repo dify/dify
helm upgrade -i dify -f values.yaml dify/dify
```

## Advanced Usage

### Uninstallation

To uninstall Dify, you can use the following command:

```bash theme={null}
helm uninstall dify
```

### Display Helm Chart Values

For more information about the Helm chart values, you can use the following command:

```bash theme={null}
helm show values dify/dify
```

### Use Helm Template to Generate Kubernetes YAML

You can use the following command to generate the Kubernetes YAML files:

```bash theme={null}
helm template dify -f values.yaml dify/dify > dify-k8s-template.yaml
```

### Download the Helm Chart locally

You can use the following command to download the Helm chart:

```bash theme={null}
helm pull dify/dify
helm pull dify/dify --version x.x.x
```
