Skip to Content

CLI Usage

The nodebuilder-xd CLI helps you quickly scaffold ready-to-run Node.js projects — interactively and without configuration.


Run the CLI (Interactive Mode)

Execute the command below in your terminal:

npx nodebuilder-xd

You’ll be prompted to choose:

  • Project name (e.g., my-app)
  • Template typeBasic, REST API, or Socket.io
  • Include CRUD? — Whether to add default CRUD examples

Example Session

? Enter project name › my-app ? Choose a template › REST API ? Include CRUD example? › No

Once confirmed, the CLI scaffolds your project:

✅ Created project: ./my-app 💡 Next steps: cd my-app npm install npm run dev

Notes

You can run nodebuilder-xd without installing globally — npx always fetches the latest version from npm.

If you prefer global usage:

npm install -g nodebuilder-xd nodebuilder-xd

Next Steps

Last updated on