Before installing wasm-pack
, you should make sure that you have already
installed Rust and npm. You can confirm that these are installed using the
following commands:
# Check if Rust is installed.
cargo --version
# Check if npm is installed.
npm --version
You can find more information about installing Rust here and more information about installing npm here.
You will need to create an npm account if you plan on publishing your package to the npm public registry. You can find information about signing up for npm here.