# Installation

> Install the Stackable operator for Apache NiFi and its dependencies using stackablectl or Helm. Follow steps for a complete setup on Kubernetes.

On this page you install the Stackable operator for Apache NiFi as well as the commons, secret and listener operator, which are required by all Stackable operators.

There are multiple ways to install the Stackable operators. [stackablectl](https://docs.stackable.tech/management/stable/stackablectl/index.md) is the preferred way, but Helm is also supported. OpenShift users may prefer installing the operator from the RedHat Certified Operator catalog using the OpenShift web console.

**Tab: stackablectl**

The `stackablectl` command line tool is the recommended way to interact with operators and dependencies. Follow the [installation steps](https://docs.stackable.tech/management/stable/stackablectl/installation/index.md) for your platform if you choose to work with `stackablectl`.

After you have installed `stackablectl` and have a Kubernetes cluster up and running, run the following command to install all operators necessary for NiFi:

```shell
stackablectl operator install \
  commons=26.7.0 \
  secret=26.7.0 \
  listener=26.7.0 \
  nifi=26.7.0
```

The output should contain the following lines

```
Installed commons=26.7.0 operator
Installed secret=26.7.0 operator
Installed listener=26.7.0 operator
Installed nifi=26.7.0 operator
```

> **Tip:** Consult the [Quickstart](https://docs.stackable.tech/management/stable/stackablectl/quickstart/index.md) to learn more about how to use `stackablectl`.

**Tab: Helm**

You can also use Helm to install the operators.

> **Note:** `helm repo` subcommands are not supported for OCI registries. The operators are installed directly, without adding the Helm Chart repository first.

Install the Stackable operators:

```bash
helm install --wait commons-operator oci://oci.stackable.tech/sdp-charts/commons-operator --version 26.7.0
helm install --wait secret-operator oci://oci.stackable.tech/sdp-charts/secret-operator --version 26.7.0
helm install --wait listener-operator oci://oci.stackable.tech/sdp-charts/listener-operator --version 26.7.0
helm install --wait nifi-operator oci://oci.stackable.tech/sdp-charts/nifi-operator --version 26.7.0
```

Helm deploys the operators in a Kubernetes Deployment. Each operator installs and maintains its own CRDs at startup (see [CustomResourceDefinition (CRD) maintenance](https://docs.stackable.tech/home/stable/concepts/maintenance/crds/index.md)).

## What’s next

[Setting up a NiFi cluster](https://docs.stackable.tech/home/stable/nifi/getting_started/first_steps/index.md) and its dependencies.
