Skip to content

Non-interactive install (--yes) prompts for directory and creates literal {output_folder} #1962

@jschulte

Description

@jschulte

Describe the bug
When running a non-interactive install with --yes and partial CLI options (e.g. --user-name without --output-folder), two bugs occur:

  1. The installer still prompts interactively for the installation directory instead of defaulting to the current working directory
  2. A literal directory named {output_folder} is created instead of _bmad-output, because the output_folder core config value is never set

Steps to reproduce

npx bmad-method install --modules bmm --tools claude-code,codex --user-name "Jonah" --yes
  1. Installer prompts for directory despite --yes flag
  2. After installation completes, a folder literally called {output_folder} exists in the project

Expected behavior

  1. --yes without --directory should default to process.cwd() (current directory)
  2. Core config defaults (output_folder, communication_language, document_output_language) should be backfilled from src/core/module.yaml when --yes skips interactive prompts

Environment

  • BMad version: 6.0.1
  • Agentic IDE used: Claude Code, Codex
  • Node.js: v22+

PR
Fix incoming — see linked PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions