appendix-b
                    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 install this specific version with rustup install 1.84.0 and then set it as default with rustup default 1.84.0. For some Spin sections, we use Rust version 1.85.0. You can follow the same steps to install it and swap between different Rust versions as needed.
B.1.1 Target installation
Here are the Rust targets used in this book and how to install them:
- 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
These are the Cargo-based tools we’ll install as needed:
- 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/.