Skip to content
Riot Docs

Search is only available in production builds. Try building and previewing the site to test it out locally.

Install Riot GitHub

Quick Start

The point of a quick start is not to explain every feature. It is to get one real Riot workspace through the full loop as quickly as possible.

Terminal window
riot run leostera/create-riot-app

This is the fastest path when you want a realistic Riot application instead of a blank workspace.

Follow the scaffold prompts, move into the generated directory, and run the normal loop:

Terminal window
cd <workspace-name>
riot build
riot test
riot doc

Then run the package or app target the scaffold created:

Terminal window
riot run <package-name>

This path is ideal when the question is not “what files does Riot generate?” but “can I get a real Riot project moving quickly?”

If you want the cleanest view of Riot’s default project shape, start empty:

Terminal window
riot init hello
cd hello
riot build
riot run hello
riot test
riot doc

This is the better path when you are evaluating:

  • the workspace layout
  • the package model
  • the standard development loop
  • the generated docs flow

Each step proves a different part of the system:

  • riot init or riot run leostera/create-riot-app proves Riot can bootstrap the project shape it expects
  • riot build proves the workspace can resolve and compile what it needs
  • riot run proves the package produces a usable binary path
  • riot test proves the quality workflow is wired into the same tool
  • riot doc proves the public interface can become docs

That is why this quick start is better than a trivial “print version” walkthrough. It tells you whether the system is coherent.

During the quick start, pay attention to whether Riot feels:

  • package-aware rather than file-scattered
  • consistent between commands
  • predictable in what it builds and runs
  • opinionated in a useful way rather than a constraining one

Those are the real evaluation questions.

After the quick start, most users should move into one of these paths: