azu new
Overview
azu new <project_name> [options]Basic Usage
Create a Simple Web Application
# Create a new web application
azu new my_blog
# Navigate to the project
cd my_blog
# Start development
azu serveCreate Different Project Types
# Web application (default)
azu new my_web_app --type web
# API-only application
azu new my_api --type api
# or use the shorthand:
azu new my_api --api
# CLI application
azu new my_cli_tool --type cliSpecify Database
Command Options
Option
Description
Default
Project Types
Web Application (--type web)
--type web)API Application (--type api)
--type api)CLI Application (--type cli)
--type cli)Database Options
PostgreSQL (--database postgres)
--database postgres)MySQL (--database mysql)
--database mysql)SQLite (--database sqlite)
--database sqlite)Advanced Options
Custom Templates
Skip Git Initialization
Skip Dependencies
Force Overwrite
Generated Files
Core Application Files
Configuration Files
Development
Examples
Complete Blog Application
API Service
CLI Tool
Post-Creation Steps
Troubleshooting
Permission Denied
Database Connection Error
Template Not Found
Best Practices
1. Choose the Right Project Type
2. Select Appropriate Database
3. Use Descriptive Names
4. Plan Your Structure
Last updated