
CLI tool to create beautiful docs with Markdown

The fastest way to create a new Docus documentation project. This CLI tool scaffolds a complete documentation website using the docus Nuxt layer.
π Quick Start
Create a new documentation project in seconds:
npx create-docus my-docs
npx create-docus my-docs -t i18n
cd my-docs
npm run dev
That's it! Your documentation site will be running at http://localhost:3000
π Templates
Default Template
Creates a basic documentation project ready for single-language content.
I18n Template
Use the -t i18n flag to create a project with internationalization support:
npx create-docus my-docs -t i18n
The i18n template includes:
- Pre-configured
@nuxtjs/i18n module
- Locale-based content structure (
content/en/, content/fr/)
- Built-in language switcher
- Automatic URL prefixing (
/en/docs, /fr/docs)
π― What it creates
The CLI scaffolds a complete documentation project with:
- β¨ Beautiful Design - Clean, modern documentation theme
- π± Responsive - Mobile-first responsive design
- π Dark Mode - Built-in dark/light mode support
- π Internationalization - Native i18n support for multi-language docs
- π Search - Full-text search functionality
- π Markdown Enhanced - Extended markdown with custom components
- π¨ Customizable - Easy theming and brand customization
- β‘ Fast - Optimized for performance with Nuxt 4
- π§ TypeScript - Full TypeScript support
π Project Structure
Generated project
my-docs/
βββ content/ # Your markdown content
β βββ index.md # Homepage
β βββ docs/ # Documentation pages
βββ public/ # Static assets
βββ package.json # Dependencies and scripts
Optional files and folders
Docus uses a layer system, you can go further and use any feature or file of a classical Nuxt project:
my-docs/
βββ app.config.ts # App configuration
βββ nuxt.config.ts # Nuxt configuration (add extra modules, components, etc.)
βββ app/ # App directory
β βββ components/ # Components (add your own components)
β βββ layouts/ # Layouts (add your own layouts)
β βββ pages/ # Pages (add your own pages)
βββ server/ # Server-side code (add your own server-side code)
/content folder structure
Single language structure:
content/
βββ index.md
βββ getting-started.md
βββ guide/
βββ introduction.md
βββ configuration.md
Multi-language structure (with i18n):
content/
βββ en/
β βββ index.md
β βββ guide/
β βββ introduction.md
βββ fr/
βββ index.md
βββ guide/
βββ introduction.md
β‘ Built with
Your project comes pre-configured with the best of the Nuxt ecosystem:
π Related Packages
docus - The Nuxt layer that powers your documentation
π Documentation
For detailed documentation on customizing your Docus project, visit the Docus Documentation
π οΈ Development
This repository contains the CLI tool source code.
Local Development
To contribute to the CLI tool:
git clone https://github.com/nuxt-content/docus
pnpm install
pnpm run build
pnpm run dev
π License
Published under the MIT license.