We can use “emscripten SDK (emsdk)” in order to install emscripten to your develop environment. Python must be installed to use commands included in “emscripten SDK (emsdk)”, which is written in Python script.
Download emscripten SDK (emsdk)
Open Explorer, and move directory to the folder you have downloaded emsdk, then type
cmd into the address bar.
After launching command prompt, type these commands:
emsdk install 2.0.22-upstream emsdk activate 2.0.22-upstream --permanent
emsdk install 2.0.22-upstream will install emscripten and its dependencies (clang, node.js, java) to your develop environment.
emsdk activate 2.0.22-upstream --permanent will perform setup for these tools.