Project Create
Create a new project
Usage
agentuity project create [options]
Options
| Option | Type | Required | Default | Description |
|--------|------|----------|---------|-------------|
| --name | string | Yes | - | Project name |
| --dir | string | Yes | - | Directory to create the project in |
| --domains | array | Yes | - | Array of custom domains |
| --template | string | Yes | - | Template to use |
| --templateDir | string | Yes | - | Local template directory for testing (e.g., ./packages/templates) |
| --templateBranch | string | Yes | - | GitHub branch to use for templates (default: main) |
| --install | boolean | No | true | Run bun install after creating the project (use --no-install to skip) |
| --build | boolean | No | true | Run bun run build after installing (use --no-build to skip) |
| --confirm | boolean | Yes | - | Skip confirmation prompts |
| --register | boolean | No | true | Register the project, if authenticated (use --no-register to skip) |
Examples
Create new item:
bunx @agentuity/cli project create
Create new item:
bunx @agentuity/cli project create --name my-ai-agent
Create new item:
bunx @agentuity/cli project create --name customer-service-bot --dir ~/projects/agent
Use no install option:
bunx @agentuity/cli project create --template basic --no-install
Use no register option:
bunx @agentuity/cli project new --no-register
Output
Returns JSON object:
{
"success": "boolean",
"name": "string",
"path": "string",
"projectId": "string",
"template": "string",
"installed": "boolean",
"built": "boolean",
"domains": "array"
}
| Field | Type | Description |
|-------|------|-------------|
| success | boolean | Whether the operation succeeded |
| name | string | Project name |
| path | string | Project directory path |
| projectId | string | Project ID if registered |
| template | string | Template used |
| installed | boolean | Whether dependencies were installed |
| built | boolean | Whether the project was built |
| domains | array | Array of custom domains |
微信扫一扫