Skip to content

Quick Start: Install Thagore

Quick Start: Install Thagore

Use the official release installer. It installs thagc from the latest GitHub release and always bootstraps drago.

Step 1: Install

Terminal window
curl -fsSL https://github.com/thagore-foundation/thagore/releases/latest/download/thagup.sh | sh

Or install a specific version explicitly:

Terminal window
curl -fsSL https://github.com/thagore-foundation/thagore/releases/latest/download/thagup.sh | sh -s -- --tag v0.9.6

Verify:

Terminal window
thagc --version

The installer now bootstraps drago by default. Verify it with drago --version.

Step 2: First Program

Create hello.tg:

func main() -> i32:
print("hello")
return 0

Run it:

Terminal window
thagc run hello.tg

Build a native executable:

Terminal window
thagc build hello.tg
./hello
  • POSIX installer (latest): https://github.com/thagore-foundation/thagore/releases/latest/download/thagup.sh
  • PowerShell installer (latest): https://github.com/thagore-foundation/thagore/releases/latest/download/thagup.ps1
  • Raw installer source (GitHub): https://raw.githubusercontent.com/thagore-foundation/thagore/main/tooling/release/thagup.sh
  • All releases: https://github.com/thagore-foundation/thagore/releases