-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·27 lines (23 loc) · 896 Bytes
/
install.sh
File metadata and controls
executable file
·27 lines (23 loc) · 896 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
#!/bin/bash
# Install symbi binary and verify prerequisites
set -e
# Check for jq (required by hook scripts)
if ! command -v jq &> /dev/null; then
echo "Warning: jq is not installed. Hook scripts require jq for JSON parsing."
echo " Install via: apt install jq / brew install jq"
fi
echo "Installing Symbiont CLI..."
if command -v cargo &> /dev/null; then
echo "Installing from crates.io..."
cargo install symbi
elif command -v docker &> /dev/null; then
echo "Docker detected. You can use symbi via Docker:"
echo " docker pull ghcr.io/thirdkeyai/symbi:latest"
echo " alias symbi='docker run --rm -v \$(pwd):/workspace ghcr.io/thirdkeyai/symbi:latest'"
else
echo "Neither cargo nor docker found."
echo "Install Rust: https://rustup.rs"
echo "Or Docker: https://docs.docker.com/get-docker/"
exit 1
fi
echo "Done! Run 'symbi --version' to verify."