The Create TypeScript App CLI provides an interactive interface for generating TypeScript projects with guided prompts and preset selection.
The CLI tool is accessible via the package's binary entry point and provides an interactive template runner.
# Via npx (recommended)
npx create-typescript-app
# After global installation
npm install -g create-typescript-app
create-typescript-appThe CLI uses runTemplateCLI from the bingo package to provide an interactive experience that:
The CLI follows this workflow:
// Binary entry point: bin/index.js
// Requires Node.js >= 20.19.0The CLI binary is automatically available when the package is installed and can be executed directly without importing into a Node.js script.
The CLI does not accept command-line arguments or flags. All configuration is handled through interactive prompts, making it user-friendly for developers of all experience levels.
# Simple execution - all options configured interactively
npx create-typescript-app
# The CLI will prompt for:
# - Project directory name
# - Project title and description
# - Repository owner/organization
# - Package access level (public/restricted)
# - Node.js version preferences
# - Preset selection or custom block configuration
# - Additional configuration options