Getting Started

    To install Rust, follow the .

    The minimum supported Rust version (MSRV) for Yew is . Older versions can cause unexpected issues accompanied by incomprehensible error messages. You can check your toolchain version using rustup show (under “active toolchain”) or alternatively rustc --version. To update your toolchain, run .

    Trunk is the recommended tool for managing deployment and packaging, and is used throughout the documentation and examples.

    1. # note that this might take a while to install, because it compiles everything from scratch
    2. cargo install --locked trunk

    With your development environment setup, you can now proceed with reading the documentation. If you like to learn by getting your hands dirty, we recommend you check out our tutorial