# Installation

You can install Opik using the helm chart maintained by the Opik team by running the following commands:

Add Opik Helm repo

```bash
helm repo add opik https://comet-ml.github.io/opik/
helm repo update
```

You can set VERSION to the specific Opik version or leave it as 'latest'

```bash
VERSION=latest
helm upgrade --install opik -n opik --create-namespace opik/opik \
    --set component.backend.image.tag=$VERSION \
    --set component.python-backend.image.tag=$VERSION \
    --set component.python-backend.env.PYTHON_CODE_EXECUTOR_IMAGE_TAG="$VERSION" \
    --set component.frontend.image.tag=$VERSION
```

You can port-forward any service you need to your local machine:

```bash
kubectl port-forward -n opik svc/opik-frontend 5173
```

Opik will be available at `http://localhost:5173`.