#!/bin/bash # Install Antigravity from local .deb file # Usage: ./scripts/install-deb.sh [path-to-deb] set -e if [ -z "$1" ]; then DEB_FILE="packages/antigravity_2.0.1-ai-providers-1_amd64.deb" else DEB_FILE="$1" fi if [ ! -f "$DEB_FILE" ]; then echo "Error: $DEB_FILE not found" echo "Usage: $0 [path-to-deb-file]" exit 1 fi echo "Installing Antigravity from: $DEB_FILE" echo "" # Install package sudo dpkg -i "$DEB_FILE" # Check for dependencies echo "" echo "Checking dependencies..." sudo apt-get install -f -y echo "" echo "✅ Installation complete!" echo "" echo "To launch Antigravity:" echo " antigravity" echo "" echo "Or find 'Antigravity IDE' in your application menu."