Skip to content

Commit a0bbae8

Browse files
prmoore77claude
andcommitted
GizmoSQL: use the official one-line installer
Replaces the manual arch-detection + zip download with the official installer at install.gizmosql.com, mirroring the pattern DuckDB uses in this repo. The installer handles arch/OS detection and installs to ~/.local/bin by default, which we then prepend to PATH. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 837d9b8 commit a0bbae8

1 file changed

Lines changed: 6 additions & 16 deletions

File tree

gizmosql/benchmark.sh

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,12 @@ export HOME=/home/ubuntu
55

66
# Install requirements
77
sudo apt-get update -y
8-
sudo apt-get install -y unzip netcat-openbsd
9-
10-
# Detect architecture (maps x86_64->amd64, aarch64->arm64)
11-
ARCH=$(uname -m)
12-
if [ "$ARCH" = "x86_64" ]; then
13-
ARCH="amd64"
14-
elif [ "$ARCH" = "aarch64" ]; then
15-
ARCH="arm64"
16-
fi
17-
18-
# Install the GizmoSQL server and client (gizmosql_client is the CLI shell) into a local directory
19-
mkdir -p ./bin
20-
curl -L -o gizmosql.zip "https://github.com/gizmodata/gizmosql/releases/latest/download/gizmosql_cli_linux_${ARCH}.zip"
21-
unzip -o gizmosql.zip -d ./bin
22-
chmod +x ./bin/gizmosql_server ./bin/gizmosql_client
23-
export PATH="$PWD/bin:$PATH"
8+
sudo apt-get install -y curl unzip netcat-openbsd
9+
10+
# Install the GizmoSQL server and client (gizmosql_client is the CLI shell)
11+
# via the official one-line installer (https://install.gizmosql.com).
12+
curl -fsSL https://install.gizmosql.com/install.sh | sh
13+
export PATH="$HOME/.local/bin:$PATH"
2414

2515
# Source our env vars and utility functions for starting/stopping gizmosql server
2616
. util.sh

0 commit comments

Comments
 (0)