create-commandkit is a CLI utility to quickly instantiate a Discord bot with CommandKit.
- Interactive, beautiful command-line interface 🖥️
- Supports CommonJS and ES Modules 📦
- Dynamic template system with examples from GitHub 🚀
- Support for all major package managers (npm, pnpm, yarn, bun, deno) 📦
- TypeScript and JavaScript support 🔧
You can find the full documentation here.
npx create-commandkit@latestnpx create-commandkit@latest my-bot# Use a curated example
npx create-commandkit@latest --example with-database
# Use a custom GitHub repository
npx create-commandkit@latest --example "https://github.com/user/repo"
# Use a specific path within a repository
npx create-commandkit@latest --example "https://github.com/user/repo" --example-path "examples/bot"-h, --help- Show all available options-V, --version- Output the version number-e, --example <name-or-url>- An example to bootstrap the app with--example-path <path>- Specify the path to the example separately--use-npm- Use npm as package manager--use-pnpm- Use pnpm as package manager--use-yarn- Use yarn as package manager--use-bun- Use bun as package manager--use-deno- Use deno as package manager--skip-install- Skip installing packages--no-git- Skip git initialization--yes- Use defaults for all options--list-examples- List all available examples from the official repository
basic-js- examples/basic-jsbasic-ts- examples/basic-tsdeno-ts- examples/deno-tswith-ai- examples/with-aiwith-leveling-system- examples/with-leveling-systemwith-workflow- examples/with-workflowwithout-cli- examples/without-cli
# Create a basic TypeScript bot, skip installation
npx create-commandkit@latest --example basic-ts --skip-install
# Create a bot with all defaults (no prompts)
npx create-commandkit@latest --yes
# Create a bot from custom repository
npx create-commandkit@latest --example "https://github.com/username/my-commandkit-template"
# Create a bot with pnpm
npx create-commandkit@latest --use-pnpm
# List all available examples
npx create-commandkit@latest --list-examplesSubmit any queries or suggestions in our Discord community.