wasm-pack (original) (raw)

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

curl https://rustwasm.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 runwasm-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://rustwasm.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 youreported 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