File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,22 +5,12 @@ export HOME=/home/ubuntu
55
66# Install requirements
77sudo 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
You can’t perform that action at this time.
0 commit comments