DevFlow

CLI Reference

Full DevFlow CLI reference: use --husky, --lint, --ci github, --docker, --all, --yes, --dry-run, --pm pnpm and more to add any tool to your project without the interactive wizard.

Synopsis

devflow [options]
create-devflow [options]
npx create-devflow [options]

Options

General

FlagDescription
--help, -hShow help message
--version, -VShow version number
--verboseEnable verbose logging

Execution Control

FlagDescription
--dry-runPreview all changes without applying them
--yes, -ySkip all confirmations
--skip-installCreate config files only, don't run npm install

Project Override

FlagDescription
--pm <manager>Force package manager (npm, yarn, pnpm, bun)
--ci <provider>CI provider (github, gitlab, both)

Presets

FlagDescription
--allApply the recommended preset for the detected stack

Direct Module Flags

Skip the wizard and apply specific modules:

FlagDescription
--only <module>Setup a single module by ID
--huskyGit hooks (Husky + lint-staged + Commitlint)
--lintESLint + Prettier + EditorConfig
--testVitest test runner
--ci <provider>CI workflow for the specified provider
--release <tool>Release tooling (release-it, changesets, semantic-release)
--dockerDockerfile + docker-compose + .dockerignore
--docsREADME, CONTRIBUTING, LICENSE, etc.
--securitynpm audit + Gitleaks

Monorepo

FlagDescription
--scope <name>Run on a specific workspace
--workspaces <pattern>Workspace glob pattern

Examples

# Interactive wizard
devflow

# Full recommended setup, no prompts
devflow --all --yes

# Preview what would happen
devflow --all --dry-run

# Only Git hooks
devflow --husky

# Lint + format tools
devflow --lint

# CI for GitHub with pnpm
devflow --ci github --pm pnpm

# Single module setup
devflow --only vitest

# Full setup for monorepo, skip install
devflow --all --yes --skip-install

Exit Codes

CodeMeaning
0Success
1Error during execution

On this page