How to switch between Rust stable version and nightly verison in VSCode?

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.

1 Like

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.

1 Like

Thanks! Great!

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.