Skip to content

init

ddx init

Initialize DDx in current project

Synopsis

Initialize DDx in the current project.

This command: • Creates a .ddx/config.yaml configuration file • Installs the default DDx library plugin • Commits the config file to git

Examples: ddx init # Initialize DDx in current project ddx init –force # Reinitialize existing project ddx init –no-git # Skip git operations

ddx init [flags]

Options

      --branch string           Library repository branch (default: main)
  -f, --force                   Force initialization even if DDx already exists
  -h, --help                    help for init
      --no-git                  Skip git operations
      --repository string       Library repository URL (default: https://github.com/DocumentDrivenDX/ddx-library)
      --silent                  Suppress all output except errors
      --skip-claude-injection   Skip injecting meta-prompts into CLAUDE.md

Options inherited from parent commands

      --config string              config file (default is $HOME/.ddx.yml)
      --library-base-path string   override path for DDx library location
  -v, --verbose                    verbose output

SEE ALSO

  • ddx - Document-Driven Development eXperience - AI development toolkit
Auto generated by spf13/cobra on 6-Apr-2026