Installation

Getting started2 min read|
|

DocsLit requires Node.js 24 or later.

Prerequisites

Check your Node.js version:

node --version DocsLit uses top-level await and modern ES module features that require Node.js 24.0.0 or later. If you see syntax errors, upgrade your Node.js installation.

Install DocsLit

npm install -g docslit pnpm add -g docslit yarn global add docslit

Verify the installation

Run the version command to confirm everything is working:

docslit --version

You should see the current version number printed in your terminal.

Next steps

Now that DocsLit is installed, follow the quickstart to create your first documentation site.