If you haven't already, you'll need to install nightly Rust with the wasm toolchain!
See the setup section for more details. Once you've done that you'll need to install
$ cargo install wasm-pack
and make sure the binary is in your
$PATH so you can run it.
If you also have not installed npm already you'll need to do so! Follow the docs available on npm or install it through your package manager!
To confirm you've succeeded run:
$ npm --version
You should see the version number pop out in your terminal if you installed it successfully!
After you have npm installed you'll need to sign up for an account on npm if you have not already done so in order to complete the tutorial and so you can upload your package. The sign up page can be found here.