Installation
macOS / Linux
sh
curl -fsSL https://wynlang.com/install.sh | shWindows
powershell
irm https://wynlang.com/install.ps1 | iexRequirements
Wyn compiles your program to C and then invokes a system C compiler (cc, gcc, or clang) to produce the native binary. Most systems already ship one:
- macOS:
xcode-select --install(Command Line Tools) - Ubuntu/Debian:
sudo apt install build-essential - Fedora:
sudo dnf install gcc
A bundled TinyCC (TCC) fallback ships on some platforms, but the standard, faster path uses your system compiler together with Wyn's precompiled runtime. Run wyn doctor to see what your setup will use.
Verify
sh
wyn --versionCheck Your Setup
sh
wyn doctorThis checks that your C compiler, linker, and all dependencies are correctly configured.
Build from Source
sh
git clone https://github.com/wynlang/wyn.git
cd wyn
makeThe compiler binary is at ./wyn. Add it to your PATH.
Next Steps
- Hello World - write and run your first program
- Variables & Types - learn the basics
- Quick Start Guide - build something real in 5 minutes
- CLI Commands - all available
wyncommands