Installation
Install GSET from source, a release binary, or a package.
GSET is version 2.2.1. It has zero external dependencies — one static Go binary.
Requirements
- To build from source: Go 1.21+
- To run GSET output, install whichever target runtime you want to use:
python3,node,go,java(+javac), orruby
One-liner install script
The project ships an installer script that fetches a prebuilt binary:
curl -fsSL https://raw.githubusercontent.com/Crazygiscool/GSETLang/main/install.sh | bashThe installer copies the binary to ~/.local/bin/gset, adds ~/.local/bin to your PATH (appends to ~/.bashrc or ~/.zshrc), and prints the installed version. Restart your shell (or source ~/.bashrc/~/.zshrc) if gset isn't found, then verify:
gset versionPre-built binaries
Download the latest release from the GitHub Releases page. Releases are cross-compiled for Linux, macOS, and Windows (amd64/arm64) into dist/ by scripts/build.sh.
# Linux example, after downloading the archive
tar -xzf gset-2.2.1-linux-amd64.tar.gz
sudo mv gset /usr/local/bin/gsetBuild from source
git clone https://github.com/Crazygiscool/GSETLang.git
cd GSETLang
go build -o gset .The build emits a gset binary in the repo root. To also copy it into test/, use make build (this produces gset-2.2.1).
Package managers
| Package | Install |
|---|---|
| Arch Linux (AUR) | yay -S gset |
| Debian/Ubuntu | sudo dpkg -i gset_2.2.1_amd64.deb (from releases) |
| Windows | winget install GSETLang / choco install gset (see plugins/packages/) |
Verify the install
gset version
# GSET v2.2.1What you'll need at runtime
| Target | Command GSET shells out to |
|---|---|
| Python | python3 |
| JavaScript | node |
| Go | go run |
| Java | sh -c 'javac Main.java && java Main' (configurable) |
| Ruby | ruby |
You can override any of these commands in gset.conf. If a toolchain is missing, gset run fails with a clear execution error — install the runtime and try again.