This is a Node.js script that can help you quickly spin up a new C++ project with a basic structure and essential files
Make sure you have either of the following installed:
Depending on your available JavaScript package managers, you can use one of the following commands:
npm create cxx $PROJECT_NAME
# or
npx create-cxx $PROJECT_NAME
yarn create cxx $PROJECT_NAME
# or
yarn dlx create-cxx $PROJECT_NAME
pnpm create cxx $PROJECT_NAME
# or
pnpm dlx create-cxx $PROJECT_NAME
bun create cxx $PROJECT_NAME
# or
bunx create-cxx $PROJECT_NAME
- [x] Interactive prompts guide you through setting up new projects
- [x] Choose from a handful of templates
- [x] CMake and vcpkg ready
- [x] Do everything via CLI, eliminating the need to copy templates from GitHub
- [x] Easy installation and use
The project leverages Bun, so ensure Bun is installed before proceeding. Any contributions are welcome!