Create TezX
Easily scaffold a new TezX project optimized for Bun runtime. Whether you're building a backend with WebSocket support or a TypeScript-powered server, create-tezx sets up a Bun-ready project instantly — with optional npm support for installation.
Quick Start (Bun-First)
Run one of the following:
# Bun (recommended)
bun create tezx@latest
# Or using npm as a runner
npx create-tezx-app@latest
npm create tezx@latestThis will launch the interactive Bun-focused project setup. You may also skip prompts using CLI flags.
CLI Options
-t, --template <template>
Choose a starter template.
bun create tezx@latest my-app -- --template minimal-i, --install
Automatically install dependencies using Bun.
bun create tezx@latest my-app -- --installIf you run via npm, Bun will still be used inside the generated project.
-p, --pm <bun|npm|pnpm|yarn>
Choose which package manager to finalize installation with (default: bun).
bun create tezx@latest my-app -- --pm bunor using npm runner:
npm create tezx@latest my-app -- --pm bun--ts, -ts
Enable TypeScript for the new project.
bun create tezx@latest my-app -- --ts--yes, --y
Use all default values and skip prompts.
bun create tezx@latest my-app -- --yesSupported Templates
| Template | Description |
|---|---|
minimal | Minimal Bun + TS setup |
google-oauth2 | Google OAuth2 ready |
github-oauth2 | GitHub OAuth2 ready |
More Bun-native templates coming soon.
Example Usage
Create a Bun WebSocket + TypeScript project:
bun create tezx@latest ws-app -- --template ws --ts --installCreate a Bun OAuth app using npm runner:
npm create tezx@latest auth-app -- --template google-oauth2 --pm bun --yesAuthor
Created by Rakibul Islam and TezX Contributors.