Docs · start
Getting started
Install the Kinglet toolchain and build your first program.
This guide walks through installing the Kinglet toolchain and compiling a first program.
Install
macOS / Linux
curl -fsSL https://kinglet-lang.org/install.sh | sh
Windows (PowerShell)
irm https://kinglet-lang.org/install.ps1 | iex
Hello, Kinglet
Create hello.kl:
using io;
int main() {
io::out("Hello, Kinglet!\n");
return 0;
}
Build and run:
kinglet build hello.kl
./hello
For more topics, browse the documentation index.