On my new PC I have istalled Win11, MSOffice24 and VSCode.
C:\Users\Guru\Downloads rustup-init.exe
Rust Visual C++ prerequisites
Rust requires a linker and Windows API libraries but they don't seem to be
available.
[I HAVE INSTALLED SOMETHING (VCRUNTIME140.DLL), SO NOW RUST EXECUTABLES CAN START]
These components can be acquired through a Visual Studio installer.
1) Quick install via the Visual Studio Community installer
(free for individuals, academic uses, and open source).
2) Manually install the prerequisites
(for enterprise and advanced users).
3) Don't install the prerequisites
(if you're targeting the GNU ABI).
>^Q
Select option 1, 2 or 3
>quit
Select option 1, 2 or 3
>cancel
Select option 1, 2 or 3
>^C
Here is a Log from my old PC:
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
info: latest update on 2025-01-09, rust version 1.84.0 (9fc6b4312 2025-01-07)
info: downloading component 'rust-std' for 'wasm32-unknown-emscripten'
info: downloading component 'rust-std' for 'wasm32-unknown-unknown'
info: downloading component 'rust-src'
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: removing previous version of component 'rust-std' for 'wasm32-unknown-emscripten'
info: removing previous version of component 'rust-std' for 'wasm32-unknown-unknown'
info: removing previous version of component 'rust-src'
info: removing previous version of component 'cargo'
info: removing previous version of component 'clippy'
info: removing previous version of component 'rust-docs'
info: removing previous version of component 'rust-std'
info: removing previous version of component 'rustc'
info: removing previous version of component 'rustfmt'
info: installing component 'rust-std' for 'wasm32-unknown-emscripten'
info: installing component 'rust-std' for 'wasm32-unknown-unknown'
info: installing component 'rust-src'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'
info: checking for self-update
Have I to install MS Visual Studio in case of choosing the 1) ithem ?
So, how to install Rust ?