aminya / chocolatey-emscripten

Chocolatey package for emscripten
https://chocolatey.org/packages/emscripten/
MIT License
1 stars 0 forks source link
choco chocolatey emscripten emsdk install package windows

chocolatey-emscripten

Chocolatey package for emscripten

Install

Install chocolatey from here then:

choco install emscripten

Note: The compiler is installed in "$env:LocalAppData\emsdk".

Uninstall

choco uninstall emscripten

Note: The compiler is removed from "$env:LocalAppData\emsdk".

Install without chocolatey

You should have git installed. These scripts all run in PowerShell.

1) Clone this repository:

git clone https://github.com/aminya/chocolatey-emscripten.git
cd chocolatey-emscripten\tools

2) run chocolateyInstall

.\chocolateyInstall.ps1

This installs the latest version. If you want to install a certain version first set emsdkVersion environment variable and then run install:

$emsdkVersion="3.1.40"
.\chocolateyInstall.ps1

Upgrade without chocolatey

run chocolateyUpgrade

.\chocolateyUpgrade.ps1

This upgrades to the latest version. If you want to upgrade to a certain version first set emsdkVersion environment variable and then run upgrade:

$emsdkVersion="3.1.40"
.\chocolateyUpgrade.ps1

Uninstall without chocolatey

.\chocolateyUninstall.ps1