Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

Add --skip-config to install.ps1 too (#145)

Martin Vogel18298d287e0c
diff --git a/install.ps1 b/install.ps1
index 702466182..5c25f5518 100644
--- a/install.ps1
+++ b/install.ps1
@@ -15,9 +15,11 @@ $BaseUrl = if ($env:CBM_DOWNLOAD_URL) { $env:CBM_DOWNLOAD_URL } else { "https://
# Detect variant from args (--ui or --standard)
$Variant = "standard"
+$SkipConfig = $false
foreach ($arg in $args) {
if ($arg -eq "--ui") { $Variant = "ui" }
if ($arg -eq "--standard") { $Variant = "standard" }
+ if ($arg -eq "--skip-config") { $SkipConfig = $true }
if ($arg -like "--dir=*") { $InstallDir = $arg.Substring(6) }
}
@@ -121,13 +123,18 @@ try {
}
# Configure agents
-Write-Host ""
-Write-Host "Configuring coding agents..."
-try {
- & $Dest install -y 2>&1 | Write-Host
-} catch {
- Write-Host "Agent configuration failed (non-fatal)."
- Write-Host "Run manually: codebase-memory-mcp install"
+if ($SkipConfig) {
+ Write-Host ""
+ Write-Host "Skipping agent configuration (--skip-config)"
+} else {
+ Write-Host ""
+ Write-Host "Configuring coding agents..."
+ try {
+ & $Dest install -y 2>&1 | Write-Host
+ } catch {
+ Write-Host "Agent configuration failed (non-fatal)."
+ Write-Host "Run manually: codebase-memory-mcp install"
+ }
}
# Add to PATH (user scope, no admin needed)