Skip to content

Instantly share code, notes, and snippets.

@andrwj
Forked from marcusbelcher/install_emscripten.bat
Created May 12, 2020 07:40
Show Gist options
  • Select an option

  • Save andrwj/a847e335bc5e264edc226c096bfafaab to your computer and use it in GitHub Desktop.

Select an option

Save andrwj/a847e335bc5e264edc226c096bfafaab to your computer and use it in GitHub Desktop.
Install Emscripten / Emsdk on Windows 10 via CMD
git clone https://github.com/juj/emsdk.git
cd emsdk
rd /s /q clang
rd /s /q emscripten
rd /s /q java
rd /s /q node
rd /s /q python
rd /s /q zips
git reset --hard HEAD
git checkout master
git pull
call emsdk install latest
call emsdk activate latest
call emsdk_env
WHERE emmake >nul 2>nul
IF %ERRORLEVEL% NEQ 0 ECHO Emscripten install failed, run script again
IF %ERRORLEVEL% EQU 0 ECHO Emscripten install successful
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment