Installation
Install DevFlow with npx create-devflow (no global install needed), or add it globally with npm/pnpm/yarn/bun. Works with any Node.js >= 18 project.
Requirements
- Node.js >= 18.0.0
- A JavaScript/TypeScript project with a
package.json(or DevFlow will create one)
Using npx (Recommended)
No installation required — run directly:
npx create-devflowThis always fetches the latest version.
Global Installation
npm install -g create-devflowThen use it anywhere:
devflow
# or
create-devflowProject-Local Installation
If you want to pin the version in your project:
npm install -D create-devflowAdd a script to package.json:
{
"scripts": {
"devflow": "devflow"
}
}Verify Installation
devflow --version
devflow --helpPackage Managers
DevFlow works with all major package managers:
| Package Manager | Install Command |
|---|---|
| npm | npx create-devflow |
| pnpm | pnpm dlx create-devflow |
| yarn | yarn dlx create-devflow |
| bun | bunx create-devflow |
DevFlow auto-detects your package manager from lock files, but you can override it:
devflow --pm pnpmIntroduction
DevFlow (npx create-devflow) is a CLI that automatically sets up Husky, ESLint, Prettier, Vitest, GitHub Actions CI/CD, Docker, Commitlint, and more in any JavaScript/TypeScript project — in under 2 minutes.
Quick Start
Run npx create-devflow in your project root and follow the interactive wizard to automatically configure Git hooks, ESLint, Prettier, Vitest, GitHub Actions CI/CD, and more — in under 2 minutes.