Installing the prerequisites
Before installing and configuring the EMSDK, we'll need to install some prerequisites. You installed two of the prerequisites in Chapter 3, Setting Up a Development Environment: Node.js and Git. Each platform has slightly different installation processes and tooling requirements. In this section, we cover the installation process for the prerequisite tooling for each platform.
Common prerequisites
It's possible that you already have all of the prerequisites installed. Here are the three that you'll need regardless of the platform:
- Git
- Node.js
- Python 2.7
Note the Python version; this is important because installing the wrong version could cause the installation process to fail. If you followed along in Chapter 2, Elements of WebAssembly - Wat, Wasm, and the JavaScript API, and installed Node.js and Git, all that's left is to install Python 2.7 and any additional prerequisites specified for your platform. The Python installation process for each platform will be specified...