Installation

Prerequisites

Before installing wasm-drydock, ensure the following are available on your system.

Rust toolchain (edition 2024)

Install via rustup:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

wasm-pack

wasm-drydock uses wasm-pack to compile your Yew frontend to WebAssembly.

curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

Minimum required version: 0.13.0. Verify with:

wasm-pack --version

wasm32-unknown-unknown target

rustup target add wasm32-unknown-unknown

Installing wasm-drydock

cargo install wasm-drydock

Verify the installation:

wasm-drydock --help

Updating

cargo install wasm-drydock --force