Building and installing


  • Since this is built with Zig, you should be able to build buzz on a wide variety of architectures even though this has only been tested on x86/M1.
  • Linux or macOS (Windows support is comingopen in new window)
  • libc
  • zig master (exact version hereopen in new window)


  1. Clone the project: git clone <buzz_dir>
  2. Checkout submodules: git submodule update --init
  3. Build MIR:
cd vendors/mir
  1. Have fun:
  • zig build run -- <> to run a script
  • zig build run to start the REPL


# install locally at ~/.local
zig build -Doptimize=ReleaseSafe install -p ~/.local

# install globally at /usr/local
sudo zig build -Doptimize=ReleaseSafe install -p /usr/local

If you're usage if performance critical (game dev for example), you can build using -Doptimize=ReleaseFast.

Remember to modify PATH to include the bin directory where it is installed. For example, export PATH=PATH:/home/xxx/.local/bin. You can then run buzz with buzz <>.

Additionally, install the VS Code extensionopen in new window to get syntax highlighting. If you don't use VS Code but your editor supports TextMate grammar filesopen in new window, you can use that.

Last Updated:
Contributors: Benoit Giannangeli