Installation
Reesql ships as a single self-contained binary. Prebuilt releases are published for macOS (Apple Silicon and Intel), Linux (x64 and arm64), and Windows (x64 and arm64).
Install script (recommended)
The install script detects your OS and architecture, downloads the matching
binary from the latest GitHub Release,
and adds it to your PATH.
curl -fsSL https://raw.githubusercontent.com/reepolee/reesql/main/install.sh | bash
irm https://raw.githubusercontent.com/reepolee/reesql/main/install.ps1 | iex
On macOS and Linux the binary is installed to ~/.local/bin. If that directory
is not already on your PATH, restart your shell or run:
export PATH="$HOME/.local/bin:$PATH"
On Windows the binary is installed to ~\bin - restart your terminal so the new
PATH entry takes effect.
Manual download
Prefer to grab the binary yourself? Download the asset for your platform from
the latest release, make
it executable, and move it somewhere on your PATH.
Verify
echo "select 1;" | reesql
You should see SELECT 1; printed back.
Building from source
To compile Reesql yourself or cross-compile for another platform, see Building from source.