TezzNative Getting Started

First project walkthrough with copy/paste commands

Build your first TezzNative app in minutes

This guide creates a project, runs it, builds binaries, and validates your environment.

1) Install SDK

Linux/macOS:
curl -fsSL https://tn.tezzcorp.com/download/install.sh | bash

Windows PowerShell:
iwr https://tn.tezzcorp.com/download/install.ps1 -OutFile install.ps1
powershell -ExecutionPolicy Bypass -File .\install.ps1

2) Create your first project

mkdir hello-tezz
cd hello-tezz

cat > hello.tn <<'TN'
import "std@0.1"

fn main() -> int:
  say("Hello TezzNative v1.0.0")
  ret 0
TN

3) Run and build

tezz doctor
tezz run hello.tn

# platform builds
tezz build hello.tn --platform linux
tezz build hello.tn --platform windows
tezz build hello.tn --platform macos
tezz build hello.tn --platform android
tezz build hello.tn --platform tezzos

4) Create an input-based app

cat > calc.tn <<'TN'
import "std@0.1"
import "io@0.1"

fn main() -> int:
  a:int = io.input_int("A = ")
  b:int = io.input_int("B = ")
  say(a + b)
  ret 0
TN

tezz run calc.tn

5) Validate before shipping

# fast sanity
tezz test --smoke

# full validation
tezz test
tezz release

Next Steps

- Read full docs: /docs/
- Browse SDK functions: /docs/sdk
- Review backend architecture: /docs/backend
- Review TezzDB usage: /docs/tezzdb
- Install artifacts: /download/