Skip to Content

CLI Usage

The NeatNode 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 neatnode

You’ll be prompted to choose:

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

Example Session

? Enter project name › my-app ? Select language › JavaScript ? 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

[!TIP] NeatNode is fully interactive — just run npx neatnode and follow the prompts. No flags needed!