Back to Wasm Pack

Install wasm-pack

docs/_installer/index.html

0.14.01.2 KB
Original Source

Install wasm-pack

You appear to be running a *nix system (Unix, Linux, MacOS). Install by running:

curl https://drager.github.io/wasm-pack/installer/init.sh -sSf | sh

If you're not on *nix, or you don't like installing from curl , follow the alternate instructions below.

You appear to be running Windows 64-bit. Download and run wasm-pack-init.exe then follow the onscreen instructions.


If you're a Windows Subsystem for Linux user, run the following in your terminal, then follow the onscreen instructions to install wasm-pack.

curl https://drager.github.io/wasm-pack/installer/init.sh -sSf | sh

If you're not on Windows 64-bit, follow the alternate instructions below.

I don't recognize your platform.

We would appreciate it if you reported an issue, along with the following values:

navigator.platform:

navigator.appVersion:


To install from source on any platform:

cargo install wasm-pack

On supported platforms, you can also use npm or yarn to download a precompiled binary:

npm install -g wasm-pack or yarn global add wasm-pack