tyc is a single binary: compiler, language server, formatter, REPL and interpreter. The Python it produces needs CPython 3.13 or newer and nothing else.
Scroll sideways if needed. Copy includes the full command.
The script picks the build for your machine, checks its SHA-256 and installs to ~/.local/bin, or %LOCALAPPDATA%\Programs\Typhon on Windows. No sudo or admin rights needed. Running it again upgrades in place. You can read the script first.
2
Start a project
Shell
tyc init hello
cd hello
This writes typhon.toml, src/main.ty with a worked example, and a tests/ directory.
3
Check it
Shell
tyc check src/
Parses, resolves and type-checks without writing anything, which makes it the command to run in CI. Every error has a code; tyc explain nullable_use prints the full entry, offline.
4
Run it, then build it
Shell
tyc run
tyc build
python build/main.py
tyc run executes straight away in tyc's own interpreter. tyc build writes plain Python to build/, with source maps so tracebacks point back at your .ty files. It also sets up a .venv with uv when uv is installed.
Platforms
Prebuilt binaries ship with every release.
System
Architecture
Target
macOS
Apple Silicon
aarch64-apple-darwin
macOS
Intel
x86_64-apple-darwin
Linux (glibc)
x86_64
x86_64-unknown-linux-gnu
Linux (glibc)
aarch64
aarch64-unknown-linux-gnu
Windows
x86_64
x86_64-pc-windows-msvc
Alpine and other musl distributions work under gcompat, or you can build from source.
Pin a version or folder
For macOS and Linux, pass flags after sh -s --. PowerShell uses the environment variables shown below.
macOS / Linux · shell
curl-fsSLhttps://typhon.sh/install.sh| sh -s----version=v1.0.0-beta.2
curl-fsSLhttps://typhon.sh/install.sh| sh -s----dir=/opt/typhon/bin
On Windows, set environment variables before running the installer.
tyc lsp is a language server on stdio, so any editor with LSP support can use it for diagnostics, hover, go-to-definition and completion. There is a reference VS Code extension in editors/vscode. It isn't on the Marketplace yet, so install it from a packaged .vsix.
Uninstall
tyc writes nothing outside its install folder.
Shell
rm "$HOME/.local/bin/tyc"
On Windows, delete tyc.exe from %LOCALAPPDATA%\Programs\Typhon. The install guide has a script that also tidies your PATH.
Next
The documentation has a ten-lesson Zero to Hero tour, the language reference and every diagnostic. What tyc checks is the short version.