The instructions below list the main tools and dependencies in an Emscripten environment, along with instructions on how to test which dependencies are installed.

Tip

The SDK provides the easiest and most reliable method for getting, using, updating and managing Emscripten environments. If you’re using the SDK you won’t need these instructions — they are provided for information only.

The instructions below are useful if you’re manually building from source.

Building LLVM and Clang from source can require a lot of memory and hard drive space. The specific requirements change from LLVM version to another, but you probably need at least 2GB of RAM, preferably 4GB or more. Debug builds or builds with assertions can require even more memory.