Askr documentation
Getting Started

Getting Started

Install Askr, choose a starter, and ship a first route.

Example

Create a starter, start the development server, and verify the production build.

npx @askrjs/cli@latest create startkit my-app
cd my-app
npm run dev
npm run build

Overview

Askr is a TypeScript application framework. Write function components, keep state with the component that owns it, and declare routes in an explicit registry. The CLI creates a project with development and build scripts so you can start with a working application.

Prerequisites

Install Node.js 24 or later and npm. You can run the CLI with npx; a global installation is optional. Static output needs a static file host, while request-time server rendering needs a server runtime.

The shortest path

Run npx @askrjs/cli@latest create startkit my-app, then cd my-app and npm run dev. Open the address printed by the development server. When the starter is running, try npm run build to check the production build.

Where to go next

Continue to First Application to add state and a route. Read Core Concepts for the runtime model, or Choose a Starter to compare project templates.