Tea
DocsExamplesReferenceCommunity
GitHub

Tea Language

A strongly typed scripting language for native tools.

© 2026 Tea Language.

ContributingCommunityRepository

Tea Documentation

Learn Tea by building fast, native command-line tools.

A strongly typed scripting language with familiar syntax and native compilation. Start with the basics, explore the standard library, and work through runnable examples.

Get started
use fs = "std.fs"
use path = "std.path"
use string = "std.string"

var root = "."
var entries = fs.read_dir(root)

for entry in entries
  if string.ends_with(entry, ".tea")
    @println(path.join([root, entry]))
  end
end
$ tea build script.tea → ./bin/script

Practical onboarding

Docs

Install Tea, learn the language, and understand how to run, build, test, and organize Tea programs.

Explore Docs

APIs and built-ins

Reference

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

Explore Reference

Runnable source

Examples

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

Explore Examples

Start here

A guided path from install to real Tea programs.

01

Installation

Install Tea from source 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`.