Portable Rustup for Windows
⚓ Rust 📅 2026-02-18 👤 surdeus 👁️ 8Hi. I made a small portable Rust "installer": GitHub - Wallby/rust-portable: Create a Rust installation inside of a folder by running one .bat file
Just run ./download.bat, and it should detect the architecture of your OS correctly and download the latest rustup-init.exe. If you already have rustup-init.exe, place it in the folder and it will skip the downloading (it will still delete it after having run it though).
It will then install everything into .cargo and .rustup in the same folder. And it will create .bat files in a bin directory, that call the files in .cargo/bin with CARGO_HOME and RUSTUP_HOME automatically set before calling each executable.
1 post - 1 participant
🏷️ Rust_feed