-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·35 lines (29 loc) · 902 Bytes
/
Copy pathinstall.sh
File metadata and controls
executable file
·35 lines (29 loc) · 902 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
set -e
echo "🐝 Installing SwarmMind..."
# Install uv if not present
if ! command -v uv &> /dev/null; then
echo "📦 Installing uv..."
curl -LsSf https://astral.sh/uv/install.sh | sh
export PATH="$HOME/.cargo/bin:$PATH"
fi
echo "🌱 Creating virtual environment..."
uv venv .venv
source .venv/bin/activate
echo "⚙️ Installing dependencies..."
uv pip install -e ".[dev]"
# Create desktop shortcut for Linux
echo "🖥️ Creating desktop shortcut..."
cat << EOF > ~/.local/share/applications/swarmmind.desktop
[Desktop Entry]
Version=1.0
Name=SwarmMind
Comment=Multi-Agent AI Research
Exec=bash -c "cd $(pwd) && source .venv/bin/activate && swarmmind web"
Icon=utilities-terminal
Terminal=false
Type=Application
Categories=Development;
EOF
echo "✅ Installation complete!"
echo "🚀 Run 'swarmmind web' to start the UI, or launch it from your applications menu."