How These Tutorials Work

Each tutorial below is designed to get you hands-on with dstack and the Phala CLI as quickly as possible. For each stack, you’ll simply copy and paste the provided code into your editor, then run the listed commands in order—no prior setup or special SDKs required. These guides are intentionally basic, so you can get comfortable with the Phala CLI workflow and see how dstack operates in practice. Once you’ve completed a tutorial and are familiar with the basics, we recommend checking out the additional reading in the recommended learning path to dive deeper into dstack’s architecture and learn how to perform full production deployments.

Choose Your Application Stack

Pick the tutorial that matches your technology stack to see dstack in action: