Search⌘ K

Installing Binaryen

Learn how to install Binaryen on Linux, Mac, and Windows.

We'll cover the following...

Linux and Mac

In order to install Binaryen, first clone the repository from GitHub:

C++
git clone https://github.com/WebAssembly/binaryen

After the repository is cloned, go into the folder:

C++
cd binaryen

Generate the project build system by running the cmake command with the path to the binaryen folder:

C++
cmake .

Next, build the project using the make command:

C++
make .

This generates all the binaries in the bin folder.

Windows

For Windows, once the repository is ...