Setup your Rust environment

To be able to run Wasmer inside our Rust application, we will need Rust installed in our system.

The easiest way to get Rust in your system is via Rustup. To get Rustup on Linux and macOS, you can run the following:

curl -sSf | sh

To install Rust on Windows, download and run rustup-init.exe, then follow the onscreen instructions.

To ensure this is installed, let's run the following:

rustc -V # This will show the Rust version
cargo -V # This will work

If these commands work, Rust is successfully installed!

Next, let's take a look at building a simple Hello World Example!