diff --git a/install.sh b/install.sh index f2d24f9e..bb0bdf62 100644 --- a/install.sh +++ b/install.sh @@ -1907,9 +1907,12 @@ verify_claude_plugin() { [ -z "$found" ] && found=$(claude plugin list 2>/dev/null | grep -F "$id" || true) || true if [ -z "$found" ]; then + # The `claude` CLI only accepts user|project|local scopes + local claude_scope + [ "$SCOPE" = "project" ] && claude_scope="project" || claude_scope="user" die_plugin_setup \ "installing the Claude plugin (${id})" \ - "claude plugin install ${id} --scope ${SCOPE}" \ + "claude plugin install ${id} --scope ${claude_scope}" \ "databricks aitools reported success but the plugin is not registered — run that command yourself and confirm it succeeds (it needs a working 'claude' CLI)." fi }