Skip to content

aminya/chocolatey-emscripten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  1. 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