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
Setup Process
During the setup, you will be prompted for:
- Project Name: The name of your new documentation site.
- Template: Choose from a set of pre-defined templates (e.g., Basic, Documentation).
- 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
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
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