...

/

Installing WABT

Installing WABT

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

We'll cover the following...

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

Press + to interact
git clone --recursive https://github.com/WebAssembly/wabt

Note: We use the --recursive flag here as it ensures that, after the clone is created, all submodules within the repository (such as test-suite) are initialized.

Go into the cloned repository, create a folder named build, and then go inside the build folder. This is where we’ll generate the binaries:

Press + to interact
cd wabt
mkdir build
cd build

Note: You’ll also need to install CMake. Refer to this link for more instructions.

To build the binary with CMake, we first need to generate the build system. We specify the source to the cmake command. CMake will then build trees and generate a build system for the specified source, using the CMakeLists.txt file. ...