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
curl -fsSL https://github.com/thagore-foundation/thagore/releases/latest/download/thagup.sh | shcurl -fsSL https://github.com/thagore-foundation/thagore/releases/latest/download/thagup.sh | shcurl -fsSL https://github.com/thagore-foundation/thagore/releases/latest/download/thagup.sh | shirm https://github.com/thagore-foundation/thagore/releases/latest/download/thagup.ps1 | iexOr install a specific version explicitly:
curl -fsSL https://github.com/thagore-foundation/thagore/releases/latest/download/thagup.sh | sh -s -- --tag v0.9.6Verify:
thagc --versionThe installer now bootstraps drago by default. Verify it with drago --version.
Step 2: First Program
Create hello.tg:
func main() -> i32: print("hello") return 0Run it:
thagc run hello.tgthagc run hello.tgBuild a native executable:
thagc build hello.tg./hellothagc build hello.tg.\hello.exeLinks
- 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