Last active
October 20, 2024 20:43
-
-
Save marcusbelcher/fc9b831bd9e6384799ed6505552ca44b to your computer and use it in GitHub Desktop.
Install Emscripten / Emsdk on Windows 10 via CMD
This file contains hidden or 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
for me it was more like this (written for Linux/Bash but actually tested on Windows)
see also: https://emscripten.org/docs/getting_started/downloads.html