CLI Commands#
The Duxt CLI provides a complete toolkit for creating, developing, and deploying Duxt applications.
For comprehensive CLI documentation, see the dedicated Duxt CLI Reference.
Quick Reference#
| Command | Description |
|---|---|
duxt create <name> | Create a new project |
duxt dev | Start development server |
duxt build | Build for production |
duxt scaffold <name> | Generate CRUD module |
duxt g <type> <name> | Generate files |
Installation#
dart pub global activate duxt
Learn More#
- CLI Overview - Installation and command reference
- duxt create - Project creation options
- duxt dev - Development server details
- duxt build - Production builds
- duxt scaffold - Code generation with relations
- Scaffold Tutorial - Step-by-step scaffold tutorial