Tea — a strongly typed scripting languageCompiles native via LLVM
Tea
DocsPlaygroundExamplesReferenceCommunity
GitHub

Tea Language

A strongly typed scripting language for native tools.

© 2026 Tea Language.

ContributingCommunityRepository

The Tea language

Tea makes scripting fun again.

A strongly typed scripting language with familiar syntax and native compilation. Install the CLI, run a real script locally, then reach for the playground, reference, and runnable examples.

Install TeaOpen the playground
Listing · user.teaInterpreted or compiled
use string from "std.string"

struct User {
  name: String
  age: Int
}

var user = User(name: "Ada", age: 37)
var total = 0

for value in [1, 2, 3, 4]
  total = total + value
end

@println(string.to_upper(user.name))
@println(total)

Run it in /playground in your browser

i.

Typed

Static typing with inference catches errors before runtime while keeping code concise.

ii.

Native

Compiles to fast, standalone binaries — the same source runs interpreted or as an executable.

iii.

Familiar

Clean, indentation-based syntax designed for readable, everyday scripting.

iv.

Batteries

Filesystem, path, process, regex, and string utilities built into the standard library.

Quick install

Install, then keep moving.

The recommended path downloads a prebuilt Tea release for x86_64 Linux or Apple Silicon macOS with checksum verification, and installs it to ~/.local/bin by default.

$curl -fsSL https://tea-lang.dev/install | bash

Needs a local C toolchain — run xcode-select --install on Apple Silicon macOS, or install clang with your package manager on Linux. Intel Macs build from source.

§ Destinations

Everything the language offers, indexed.

01

Get Started

Install Tea locally, verify the CLI, and follow the first-run path from script to binary.

Install locally
02

Reference

Look up built-ins and stdlib modules such as std.fs, std.path, std.regex, and std.process.

APIs & built-ins
03

Playground

Edit and run browser-safe Tea in a WASM-backed playground embedded in the docs site.

In-browser runner
04

Examples

Study complete, runnable examples including echo, grep, todo, and team_scoreboard.

Runnable source
§ Start here

A guided path from install to real Tea programs.

01

Installation

Install a prebuilt Tea release and verify the CLI.

02

Getting Started

Run your first script and compile a binary.

03

CLI

Run, build, format, and test Tea programs.

04

Built-ins

Tea exposes a small set of global `@` intrinsics for output, script control, introspection, and math.

05

std.fs

Filesystem operations for reading, writing, and managing files and directories.

06

echo

A small CLI that mirrors Unix `echo`.