This is a Node.js script that can help you quickly spin up a new C++ project with a basic structure and essential files
npm create cxx $PROJECT_NAME
# or
npx 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
The project leverages Bun, so ensure Bun is installed before proceeding