I have installed stable and nightly version offline, how to switch between the two version?
In the command line, you do:
rustup default nightly
For switching to nighlty.
rustup default stable
To switch back to stable. More information here: Rustup for managing Rust versions - The Edition Guide.
I installed .msi offline version, so there is no rustup.
I would uninstall them and reinstall using
rustup. This is the recommended way to install Rust.
Install both toolchain in different paths.
Symlink one of them to something like
$HOME/rustbin, add that path to your
$PATH. When you want to switch toolchains, change the symlink.