Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shEnvironment
Update Rust
Install wasm-pack
Last updated
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shLast updated
source $HOME/.cargo/env#!/bin/sh
# rustup shell setup
# affix colons on either side of $PATH to simplify matching
case ":${PATH}:" in
*:"$HOME/.cargo/bin":*)
;;
*)
# Prepending path in case a system-installed rustc needs to be overridden
export PATH="$HOME/.cargo/bin:$PATH"
;;
esacrustup update nightly && rustup update stable
rustup target add wasm32-unknown-unknown --toolchain nightlycurl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh