Appendix B. Required tools

 

You can use this section as a quick reference for installing all the tools used throughout the book.

B.1 Rust

To install Rust, head to: https://www.rust-lang.org/learn/get-started.

NOTE

We use rustc 1.84.0 (9fc6b4312 2025-01-07). If you already have Rust installed, you can this specific version with: rustup install 1.84.0 and then rustup default 1.84.0.

B.1.1 Target installation

  • wasm32-unknown-unknown rustup target add wasm32-unknown-unknown
  • wasm32-wasip1 rustup target add wasm32-wasip1
  • wasm32-wasip2 rustup target add wasm32-wasip2

B.1.2 Cargo installs

  • Cargo component cargo install cargo-component@0.20.0 --locked
  • Wasm tools cargo install wasm-tools@1.227.1 --locked
  • Wasmtime cargo install wasmtime-cli@30.0.0 --locked
  • WASI-Virt cargo install wasi-virt --git https://github.com/bytecodealliance/WASI-Virt --rev b662e419 --locked
  • WAC cargo install --locked wac-cli@0.6.1
  • Wasm Hex Dump cargo install wasm_hex_dump@0.1.0 --locked
  • Wash cargo install --locked wash-cli (installs the latest vervsion)
  • Oha cargo install oha@1.4.7 --locked
  • Wkg cargo install wkg@0.10.0 --locked

B.2 Git LFS

To install Git LFS, see: https://git-lfs.com/.

B.3 Docker

NOTE

The recommended version is Docker 28.0.0, build f9ced58. You can verify your version: docker --version.

B.4 JS toolchain

B.5 Python toolchain

B.6 Spin

B.7 Ollama setup

B.8 Regctl

B.9 container2wasm

B.10 Kubernetes setup