Holmes CLIHolmes CLIGitHub
Holmes CLI

Generate project templates from the terminal.

A Node.js CLI that scaffolds projects across multiple languages, with switches for architecture, tests, Docker, GitHub Actions, license, package manager, and output path.

Multi-language scaffolding

Generate starting projects for backend, mobile, and systems stacks from one CLI.

Template options

Pick language, architecture, license, tests, Docker, GitHub Actions, package manager, and output directory.

Built for repeatable setup

The CLI is written in TypeScript, ships a `holmes` binary, and supports dry-run previews.

cli.holmes.id.vn

$ npm install -g holmes-cli

$ holmes new checkout-api --language typescript --template clean-architecture

? Include tests? yes

? Include Dockerfile? yes

? Include GitHub Actions? yes

Creating project scaffold

Writing template files

Done. Your project is ready.

Template languages

TypeScriptJavaScriptGoRustPythonDartSwiftKotlinJavaC#PHP

Usage

Commands that match the current CLI surface.

Install globally with npm, or run it directly with npx when you only need a quick scaffold.

$ npm install -g holmes-cli

Install Holmes CLI globally, then run `holmes` from any directory.

$ npx holmes

Run Holmes CLI without installing it globally.

$ holmes my-api --language go --template clean-architecture

Create a project from a language template.

$ holmes mobile-core --language dart --github-actions --docker

Include optional tooling when the project needs it.

$ holmes upgrade --dry-run

Preview the upgrade command before changing your install.