Skip to content

Installation ​

macOS / Linux ​

sh
curl -fsSL https://wynlang.com/install.sh | sh

Windows ​

powershell
irm https://wynlang.com/install.ps1 | iex

Requirements ​

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 --version

Check Your Setup ​

sh
wyn doctor

This 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
make

The compiler binary is at ./wyn. Add it to your PATH.

Next Steps ​

MIT License - v1.22.0