Difficulty: beginner
Estimated Time: 15 minutes


The objective of this scenario is to demonstrate how to work install the Distributed Application Runtime and then run a simple Node.JS application under the framework.

For more details about DAPR, go here.

This scenario is completely interactive. The instructions you'll be given will be executed directly in terminal windows in the Katacoda interactive learning environment.


This scenarios is divided into the following steps.

  • Step 1 - Install the DAPR CLI
  • Step 2 - Get the sample Node.JS app up and running under DAPR
  • Step 3 - Invoke a command against the sample Node.JS application running under DAPR.

Congratulations! You've completed the scenario, Understanding DAPR (The Distributed Application Runtime).

In this scenario you learned basics of the DAPR framework.

The interactive scenario demonstrated how to:

  • MORE
  • TO
  • COME
  • SOON

Understanding DAPR

Step 1 of 3

Setting Up DAPR


The objective of this lesson is to get the DAPR CLI installed and running under the Katacoda interactive learning environment


Step 1: Install Redis

sudo apt update && apt install redis-tools -y

Step 2: Get the code and install it

Click the following command to download and install the DAPR CLI using curl.

curl -fsSL https://raw.githubusercontent.com/dapr/cli/master/install/install.sh | /bin/bash

Step 3: Initialize DAPR within the Katacoda virtual machine

dapr init

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

This tab will not be visible to users.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]