Install wasm-pack

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.


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