Installation

Install FezLang

Get up and running in 30 seconds.

Quick install

One command. Works on macOS and Linux.

curl -sSL https://fezlang.org/install.sh | sh

Downloads the latest release, detects your OS and architecture, and installs to /usr/local/bin.

Manual install

Download the binary for your platform:

OSArchitectureDownload
macOSIntel (x86_64)fez-darwin-amd64.tar.gz
macOSApple Silicon (ARM64)fez-darwin-arm64.tar.gz
Linuxx86_64fez-linux-amd64.tar.gz
LinuxARM64fez-linux-arm64.tar.gz
Windowsx86_64fez-windows-amd64.zip

After downloading, extract and move to your PATH:

tar xzf fez-darwin-arm64.tar.gz
sudo mv fez /usr/local/bin/
fez --version

Build from source

Requires Go 1.21+.

git clone https://github.com/fezlang/fez.git
cd fez
go build -o fez .
sudo mv fez /usr/local/bin/
fez --version

Verify installation

$ fez --version
fez 1.0.0

If you see the version number, you're ready to go.

Your first program

Create a file called hello.fez:

io.print("hello, world")

Run it:

$ fez run hello.fez
hello, world

Editor support

VS Code

Search "FezLang" in the VS Code Extensions Marketplace for syntax highlighting, snippets, and error diagnostics.

Other editors

FezLang uses a simple, regular syntax. Most editors with custom language support can handle .fez files. Community-maintained plugins are available for Vim, Neovim, and Sublime Text on GitHub.

Next steps

Getting Started

A 15-minute walkthrough of every FezLang concept.

Examples

15 real programs from Hello World to TCP servers.

Playground

Try FezLang in your browser — no install needed.