Quick Start: Install Thagore
Quick Start: Install Thagore
Use the official installer flow by platform.
Step 1: Install
Invoke-WebRequest -Uri "https://github.com/thagore-foundation/thagore/releases/latest/download/thagore-setup-windows-x86_64.exe" -OutFile thagore-setup.exeStart-Process -FilePath .\thagore-setup.exe -WaitFor ARM64 Windows, use:
https://github.com/thagore-foundation/thagore/releases/latest/download/thagore-setup-windows-arm64.exe
curl -fsSL https://raw.githubusercontent.com/thagore-foundation/thagore/refs/heads/main/scripts/install/install.sh | bash -s -- --mode ubuntu --yesInstalls Thagore to a safe prefix, adds PATH, and installs LLVM 21.1.8 when needed.
curl -fsSL https://raw.githubusercontent.com/thagore-foundation/thagore/refs/heads/main/scripts/install/install.sh | bash -s -- --mode linux --yesInstalls Thagore to a safe prefix, adds PATH, and installs LLVM 21.1.8 when needed.
curl -fsSL https://raw.githubusercontent.com/thagore-foundation/thagore/refs/heads/main/scripts/install/install.sh | bash -s -- --mode macos --yesInstalls Thagore to a safe prefix, adds PATH, and installs LLVM 21.1.8 when needed.
curl -fsSL https://raw.githubusercontent.com/thagore-foundation/thagore/refs/heads/main/scripts/install/install.sh | bash -s -- --mode portable --yesInstalls Thagore to a safe prefix, adds PATH, and builds LLVM when needed.
Verify:
thagore --versionStep 2: Write Your First Program
Create hello.tg:
func main() -> i32: print("Hello, Thagore!") return 0Compile and run:
thagore build hello.tg -o hello./hellothagore build hello.tg -o hello.exe.\hello.exeLinks
- Windows x86-64 installer:
https://github.com/thagore-foundation/thagore/releases/latest/download/thagore-setup-windows-x86_64.exe - Windows ARM64 installer:
https://github.com/thagore-foundation/thagore/releases/latest/download/thagore-setup-windows-arm64.exe - Linux/macOS/portable installer script:
https://raw.githubusercontent.com/thagore-foundation/thagore/refs/heads/main/scripts/install/install.sh - All releases:
https://github.com/thagore-foundation/thagore/releases