# stackablectl

The `stackablectl` command line tool interacts with the Stackable data platform. It can install individual operators as well as platform releases. It also ships with a set of pre-built [`demos`](https://docs.stackable.tech/management/stable/stackablectl/commands/demo/index.md) that utilize different data products of the Platform, e.g. an end-to-end data pipeline.

The installation of `stackablectl` is described in the [installation guide](https://docs.stackable.tech/management/stable/stackablectl/installation/index.md). To get started, please follow the [quickstart guide](https://docs.stackable.tech/management/stable/stackablectl/quickstart/index.md).

In general, use `stackablectl --help` to find out more about how to use the tool or specific options. Every subcommand supports the help flag. For example, `stackablectl release install --help` will show the usage test for installing a release. You can also use an abbreviation instead of typing out the complete commands. E.g. `stackablectl operator list` can also be written as `stackablectl op ls`

A Kubernetes cluster is required to use the Stackable Data Platform, as all products and operators run on Kubernetes. If you don’t have a Kubernetes cluster, `stackablectl` can spin up a [kind](https://kind.sigs.k8s.io/) Kubernetes Cluster for you.

The deployed services are separated into three different layers, as illustrated below:

![Layers of the deployed services](https://docs.stackable.tech/management/stable/stackablectl/_images/layers.png)

## Operators

This layer consists of Stackable operators managing the individual data products. They can be installed one by one with the [`operator`](https://docs.stackable.tech/management/stable/stackablectl/commands/operator/index.md) command or from a release with the [`release`](https://docs.stackable.tech/management/stable/stackablectl/commands/release/index.md) command, which is recommended. A release is a well-playing bundle of operators that Stackable has extensively tested.

## Stacks

A stack is a collection of ready-to-use Stackable data products and required third-party services like Postgresql or MinIO.

Stacks are installed with the [`stack`](https://docs.stackable.tech/management/stable/stackablectl/commands/stack/index.md) command. A stack needs a release (of Stackable operators) to run on. That’s why a stack depends on a release, which gets automatically installed when a stack is installed.

## Demos

A demo is an end-to-end demonstration of the usage of the Stackable data platform. It contains:

1.  Installing a Stackable release

2.  Spinning up a stack

3.  Performing the actual demo

    1.  Prepare some test data

    2.  Process test data

    3.  Visualize results (optional)



Demos are installed with the [`demo`](https://docs.stackable.tech/management/stable/stackablectl/commands/demo/index.md) command. A demo needs a stack to run on. That’s why a demo depends on a stack, which gets automatically installed when a demo is installed. The stack, in turn, will install the needed Stackable release.

You can browse the available demos on the [demo](https://docs.stackable.tech/home/stable/demos/index.md) page.
