Skip to content

Getting Started

This guide describes how to get up and running with AppRun in minutes.

You can choose one of the following options:

  1. Use AppRun in the browser without any installation
  2. Use the npm create apprun-app to create a new AppRun project
  3. Create an AppRun Site for SSR and static site generation


AppRun is distributed on npm. To get it, run:

npm install apprun

You can use AppRun directly from the CDN:

<script src=""></script>
  const view = state => `<div>${state}</div>`;
  app.start(document.body, 'hello AppRun', view);

Or, use the ESM version:

<script type="module">
  import { app } from '';
  const view = state => `<div>${state}</div>`;
  app.start(document.body, 'hello AppRun ESM', view);