Getting Started
Quick start
The fastest way to start is with npx:
sh
npx code2cast initThis launches an interactive wizard that walks you through project setup.
Installation
If you prefer a global install:
sh
npm install -g code2castOr with your package manager of choice:
sh
npm install -g code2castsh
pnpm add -g code2castsh
yarn global add code2castInitialise a project
Run the init command in your project directory:
sh
cd my-project
code2cast initThe wizard will ask you for:
- Project name — used as the podcast series title
- Description — a short summary of what the project does
- Theme — the tone of the podcast (casual, technical, entertaining, or executive)
- Duration — target episode length in minutes
This creates a code2cast.config.json in your project root.
Non-interactive mode
For CI pipelines or AI agents, skip the wizard:
sh
code2cast init --yes --name "My Project" --theme technicalAdd --json for machine-readable output:
sh
code2cast init --json --yes --name "My Project"Next steps
- Browse the CLI Reference for all available commands
- Read about Configuration options