Logo

Quick Start

Get started with Docstra in less than a minute.


Creating a New Project

The easiest way to get started with Docstra is by using the CLI. Ensure you have Node.js 20 or later installed.

Run the following command in your terminal:

Terminal
npx create-docstra-app@latest

Setup Process

During the setup, you will be prompted for:

  1. Project Name: The name of your new documentation site.
  2. Template: Choose from a set of pre-defined templates (e.g., Basic, Documentation).
  3. VS Code: Optionally open the project in VS Code immediately.

Running Locally

Once the setup is complete, navigate to your project directory and start the development server:

Terminal
cd your-project-name npm run dev

Your Docstra site is now live at http://localhost:3000!


Adding Content

You can start adding or editing pages by modifying the MDX files inside the content directory (usually app/docs/content/ or as defined in your config).

Example of a basic MDX page:

app/docs/content/hello-world.mdx
--- title: Hello World description: My first Docstra page. --- # Hello World Welcome to my new documentation site!

Changes are reflected instantly thanks to Next.js Fast Refresh.

Next Steps

Now that you have your basic site running, you might want to:

How is this guide?

Last updated on March 30, 2026