Skip to content

A simple tutorial

Chung Leong edited this page Jun 7, 2024 · 8 revisions

What do I need?

First of all, you're going to need Node.js. You probably have it installed on your computer already if you're reading this. If not, install it with the help of NVM (for Windows).

You also need the Zig compiler. ZVM is the recommended method of obtaining it. For the purpose of this tutorial, you should use version 0.13.0 of the compiler.

If you use VS Code as a code editor, you will want to install the Zig Language extension.

Examples

This tutorial consists of three examples. Starting from minimal functionality, we'll create apps that perform increasingly sophisticated tasks. Each example is available for multiple JavaScript ecosystems.

Clone this wiki locally