rustup icon indicating copy to clipboard operation
rustup copied to clipboard

Allow choosing installation folder in Windows-native way

Open NooneAtAll3 opened this issue 2 months ago • 1 comments

Problem you are trying to solve

My C:/ disk is relatively small, I would like to keep its space for Windows and minimize pollution by other programs

Is it possible to make installer (provide an option to) call Windows interaction (like BrowseForFolder/IFileOpenDialog I don't know which one is the one) to change where it's going to install Rust?

Solution you'd like

Make install_path part of installation options (default value can still taken from EnvVar, if you really want to)

Choosing to change it calls Windows interaction

Notes

Rustup is the recommended way to install Rust. All newbies are arriving at your install screen.

Forcing newcomers to deal with EnvVars just to change install location seems... cruel

imho, but GUI installer by default (like in Python) is overdue :/

NooneAtAll3 avatar Nov 02 '25 06:11 NooneAtAll3

I don't think rustup has the capacity to maintain a GUI installer at this time. Someone could wrap rustup-init in a GUI and provide one that way. We could perhaps add setting RUSTUP_HOME and CARGO_HOME as configuration options in the installer (similar to how it sets PATH).

Aside: python is now deprecating its GUI installer and moving to a new Python Install Manager.

ChrisDenton avatar Nov 02 '25 19:11 ChrisDenton