Last active
March 27, 2024 12:38
-
-
Save marcusbelcher/fc9b831bd9e6384799ed6505552ca44b to your computer and use it in GitHub Desktop.
Install Emscripten / Emsdk on Windows 10 via CMD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
Also this may be pulling from an outdated branch, because when I run
emcmdprompt.bat
I get: