@qauri/cli
v0.2.0
Published
Complete CLI toolchain for Qauri projects - create, develop, and build
Maintainers
Readme
qauri-cli
Complete CLI toolchain for Qauri projects. Create, develop, and build desktop applications with Qt and modern web technologies.
Quick Start
Create a new project
# npm (recommended)
npm create qauri@latest
# pnpm
pnpm create qauri
# yarn
yarn create qauriThis will launch an interactive wizard to configure your project.
Use the full CLI
Install globally for project development:
npm install -g qauri-cliOr use in your project:
npm install -D qauri-cliCommands
create - Create a new project
# Interactive mode
npm create qauri@latest
# Or use the full CLI
qauri create [project-name]dev - Start development server
qauri dev
# Options
qauri dev --no-app # Only start dev server without native appStarts the Vite dev server and launches your native application.
build - Build for production
qauri build
# Options
qauri build --release # Build in release modeBuilds the frontend and compiles the native application.
info - Display project information
qauri infoShows project configuration and detected environment versions (Python, Qt, etc.).
What it does
The CLI walks you through an interactive wizard to configure your project:
- Project name — validates naming conventions
- Native language — C++ or Python
- Python package manager — pip or uv (if Python selected)
- Python version — 3.9, 3.10, 3.11, 3.12 (auto-detected)
- Qt version — 6.5.3, 6.9.2 (auto-detected)
- Backend — WebView2 (Windows), CEF (cross-platform), or Both
- Frontend framework — Vanilla, React, Vue, or Svelte (with TypeScript variants)
- Features — DevTools (F12), Reload (F5), Command Whitelist, Examples
- New window behavior — Block, Browser, or New Window
- Install dependencies — Automatically run npm install
Then generates a complete project structure:
my-qauri-app/
├── index.html
├── package.json
├── vite.config.js
├── src/ # Frontend source
│ └── ...
├── src-qauri/ # Native code
│ ├── qauri.config.json
│ ├── main.cpp / main.py
│ └── CMakeLists.txt # (C++ only)
├── .gitignore
└── README.mdCLI Flags
Skip prompts by passing project name directly:
npm create qauri@latest my-app
qauri create my-appAll configuration is done through interactive prompts for better UX.
Supported Templates
Frontend Frameworks
- Vanilla / Vanilla + TypeScript
- React / React + TypeScript
- Vue / Vue + TypeScript
- Svelte / Svelte + TypeScript
All templates use Vite as the build tool and include @qauri/api for JS↔Native communication.
Native Languages
- C++ — CMake project linking Qt6 and qauri
- Python — PySide6 + pyqauri, with uv or pip environment setup
Development
# Install dependencies
npm install
# Build
npm run build
# Run tests
npm test
# Type check
npm run type-check