From 335e1da271dbeca7bce1386e146f14051e380029 Mon Sep 17 00:00:00 2001 From: "Brian, with AI" <100626910+its-brianwithai@users.noreply.github.com> Date: Sun, 17 Aug 2025 05:08:06 +0200 Subject: [PATCH] fix: add default current directory to installer prompt (#444) Previously users had to manually type the full path or run pwd to get the current directory when installing BMad. Now the installer prefills the current working directory as the default, improving UX. Co-authored-by: its-brianwithai --- tools/installer/bin/bmad.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/installer/bin/bmad.js b/tools/installer/bin/bmad.js index 5160bf6d..ed20bdf2 100755 --- a/tools/installer/bin/bmad.js +++ b/tools/installer/bin/bmad.js @@ -216,6 +216,7 @@ async function promptInstallation() { type: 'input', name: 'directory', message: 'Enter the full path to your project directory where BMad should be installed:', + default: process.cwd(), validate: (input) => { if (!input.trim()) { return 'Please enter a valid project path';