Installing Emscripten Using emsdk
Learn how to install and update the Emscripten toolchain using emsdk.
We'll cover the following...
Installation
emsdk provides an easy way to install, manage, and switch versions of the Emscripten toolchain. emsdk takes care of setting up the environment, tools, and SDK required for compiling C/C++ to LLVM IR and then to JavaScript in the form of asm.js
or the WebAssembly binary.
Let’s install Emscripten and start hacking:
Clone the emsdk repo and go into the
emsdk
folder:
Press + to interact
git clone https://github.com/emscripten-core/emsdkcd emsdk
To install emsdk on the machine, run the ...