Easily scaffold a new TezX project using official starter templates. Whether you're building a backend with WebSocket support or a TypeScript-powered server, create-tezx
gets you started fast.
Starter templates are available for common runtimes and package managers. Run one of the following commands:
# npm
npm create tezx@latest
# yarn
yarn create tezx
# pnpm
pnpm create tezx@latest
# bun
bun create tezx@latest
# deno
deno run -A npm:create-tezx@latest
This will launch an interactive setup. You can also skip prompts using CLI flags.
You can skip interactive prompts by passing options directly via the command line.
Use a specific template by name.
npm create tezx@latest my-app -- --template minimal
Automatically install dependencies after project setup.
npm create tezx@latest my-app -- --install
Choose a package manager.
npm create tezx@latest my-app -- --pm bun
Enable TypeScript in the scaffolded project.
npm create tezx@latest my-app -- --ts
Set the runtime environment: node
, bun
, or deno
.
npm create tezx@latest my-app -- --runtime bun
Skip all prompts using sensible defaults.
npm create tezx@latest my-app -- --yes
✅ More templates coming soon!
Template | Description | Flag Example |
---|---|---|
minimal |
Minimal TypeScript setup | --template minimal |
ws |
WebSocket support (Node or Bun) | --template ws |
google-oauth2 |
Google OAuth2 integration | --template google-oauth2 |
github-oauth2 |
GitHub OAuth2 integration | --template github-oauth2 |
npm create tezx@latest my-app -- --template ws --ts --runtime node --install
bun create tezx@latest auth-app -- --template google-oauth2 --pm bun --yes
Built by Rakibul Islam and TezX contributors.