22#
33# Databricks AI Dev Kit - Unified Installer
44#
5- # Installs skills, MCP server, and configuration for Claude Code, Cursor, OpenAI Codex, GitHub Copilot, and Gemini CLI.
5+ # Installs skills, MCP server, and configuration for Claude Code, Cursor, OpenAI Codex, GitHub Copilot, Gemini CLI, and Antigravity .
66#
77# Usage: bash <(curl -sL https://raw.githubusercontent.com/databricks-solutions/ai-dev-kit/main/install.sh) [OPTIONS]
88#
@@ -149,7 +149,7 @@ while [ $# -gt 0 ]; do
149149 echo " --mcp-only Skip skills installation"
150150 echo " --mcp-path PATH Path to MCP server installation (default: ~/.ai-dev-kit)"
151151 echo " --silent Silent mode (no output except errors)"
152- echo " --tools LIST Comma-separated: claude,cursor,copilot,codex,gemini"
152+ echo " --tools LIST Comma-separated: claude,cursor,copilot,codex,gemini,antigravity "
153153 echo " --skills-profile LIST Comma-separated profiles: all,data-engineer,analyst,ai-ml-engineer,app-developer"
154154 echo " --skills LIST Comma-separated skill names to install (overrides profile)"
155155 echo " --list-skills List available skills and profiles, then exit"
@@ -502,24 +502,27 @@ detect_tools() {
502502 local has_codex=false
503503 local has_copilot=false
504504 local has_gemini=false
505+ local has_antigravity=false
505506
506507 command -v claude > /dev/null 2>&1 && has_claude=true
507508 { [ -d " /Applications/Cursor.app" ] || command -v cursor > /dev/null 2>&1 ; } && has_cursor=true
508509 command -v codex > /dev/null 2>&1 && has_codex=true
509510 { [ -d " /Applications/Visual Studio Code.app" ] || command -v code > /dev/null 2>&1 ; } && has_copilot=true
510511 { command -v gemini > /dev/null 2>&1 || [ -f " $HOME /.gemini/local/gemini" ]; } && has_gemini=true
512+ { [ -d " /Applications/Antigravity.app" ] || command -v antigravity > /dev/null 2>&1 ; } && has_antigravity=true
511513
512514 # Build checkbox items: "Label|value|on_or_off|hint"
513- local claude_state=" off" cursor_state=" off" codex_state=" off" copilot_state=" off" gemini_state=" off"
514- local claude_hint=" not found" cursor_hint=" not found" codex_hint=" not found" copilot_hint=" not found" gemini_hint=" not found"
515- [ " $has_claude " = true ] && claude_state=" on" && claude_hint=" detected"
516- [ " $has_cursor " = true ] && cursor_state=" on" && cursor_hint=" detected"
517- [ " $has_codex " = true ] && codex_state=" on" && codex_hint=" detected"
518- [ " $has_copilot " = true ] && copilot_state=" on" && copilot_hint=" detected"
519- [ " $has_gemini " = true ] && gemini_state=" on" && gemini_hint=" detected"
515+ local claude_state=" off" cursor_state=" off" codex_state=" off" copilot_state=" off" gemini_state=" off" antigravity_state=" off"
516+ local claude_hint=" not found" cursor_hint=" not found" codex_hint=" not found" copilot_hint=" not found" gemini_hint=" not found" antigravity_hint=" not found"
517+ [ " $has_claude " = true ] && claude_state=" on" && claude_hint=" detected"
518+ [ " $has_cursor " = true ] && cursor_state=" on" && cursor_hint=" detected"
519+ [ " $has_codex " = true ] && codex_state=" on" && codex_hint=" detected"
520+ [ " $has_copilot " = true ] && copilot_state=" on" && copilot_hint=" detected"
521+ [ " $has_gemini " = true ] && gemini_state=" on" && gemini_hint=" detected"
522+ [ " $has_antigravity " = true ] && antigravity_state=" on" && antigravity_hint=" detected"
520523
521524 # If nothing detected, pre-select claude as default
522- if [ " $has_claude " = false ] && [ " $has_cursor " = false ] && [ " $has_codex " = false ] && [ " $has_copilot " = false ] && [ " $has_gemini " = false ]; then
525+ if [ " $has_claude " = false ] && [ " $has_cursor " = false ] && [ " $has_codex " = false ] && [ " $has_copilot " = false ] && [ " $has_gemini " = false ] && [ " $has_antigravity " = false ] ; then
523526 claude_state=" on"
524527 claude_hint=" default"
525528 fi
@@ -535,15 +538,17 @@ detect_tools() {
535538 " GitHub Copilot|copilot|${copilot_state} |${copilot_hint} " \
536539 " OpenAI Codex|codex|${codex_state} |${codex_hint} " \
537540 " Gemini CLI|gemini|${gemini_state} |${gemini_hint} " \
541+ " Antigravity|antigravity|${antigravity_state} |${antigravity_hint} " \
538542 )
539543 else
540544 # Silent: use detected defaults
541545 local tools=" "
542- [ " $has_claude " = true ] && tools=" claude"
543- [ " $has_cursor " = true ] && tools=" ${tools: +$tools } cursor"
544- [ " $has_copilot " = true ] && tools=" ${tools: +$tools } copilot"
545- [ " $has_codex " = true ] && tools=" ${tools: +$tools } codex"
546- [ " $has_gemini " = true ] && tools=" ${tools: +$tools } gemini"
546+ [ " $has_claude " = true ] && tools=" claude"
547+ [ " $has_cursor " = true ] && tools=" ${tools: +$tools } cursor"
548+ [ " $has_copilot " = true ] && tools=" ${tools: +$tools } copilot"
549+ [ " $has_codex " = true ] && tools=" ${tools: +$tools } codex"
550+ [ " $has_gemini " = true ] && tools=" ${tools: +$tools } gemini"
551+ [ " $has_antigravity " = true ] && tools=" ${tools: +$tools } antigravity"
547552 [ -z " $tools " ] && tools=" claude"
548553 TOOLS=" $tools "
549554 fi
@@ -1091,6 +1096,13 @@ install_skills() {
10911096 copilot) dirs+=(" $base_dir /.github/skills" ) ;;
10921097 codex) dirs+=(" $base_dir /.agents/skills" ) ;;
10931098 gemini) dirs+=(" $base_dir /.gemini/skills" ) ;;
1099+ antigravity)
1100+ if [ " $SCOPE " = " global" ]; then
1101+ dirs+=(" $HOME /.gemini/antigravity/skills" )
1102+ else
1103+ dirs+=(" $base_dir /.agents/skills" )
1104+ fi
1105+ ;;
10941106 esac
10951107 done
10961108
@@ -1462,6 +1474,14 @@ write_mcp_configs() {
14621474 fi
14631475 ok " Gemini CLI MCP config"
14641476 ;;
1477+ antigravity)
1478+ if [ " $SCOPE " = " project" ]; then
1479+ warn " Antigravity only supports global MCP configuration."
1480+ msg " Config written to ${B} ~/.gemini/antigravity/mcp_config.json${N} "
1481+ fi
1482+ write_gemini_mcp_json " $HOME /.gemini/antigravity/mcp_config.json"
1483+ ok " Antigravity MCP config"
1484+ ;;
14651485 esac
14661486 done
14671487}
@@ -1505,6 +1525,10 @@ summary() {
15051525 msg " ${step} . Launch Gemini CLI in your project: ${B} gemini${N} "
15061526 step=$(( step + 1 ))
15071527 fi
1528+ if echo " $TOOLS " | grep -q antigravity; then
1529+ msg " ${step} . Open your project in Antigravity to use Databricks skills and MCP tools"
1530+ step=$(( step + 1 ))
1531+ fi
15081532 msg " ${step} . Open your project in your tool of choice"
15091533 step=$(( step + 1 ))
15101534 msg " ${step} . Try: \" List my SQL warehouses\" "
0 commit comments