ref:
Last active
September 5, 2022 04:21
-
-
Save ktrysmt/9601264b37f8e46cad1e7075850478fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
curl https://sh.rustup.rs -sSf | sh -s -- -y | |
exec $SHELL -l | |
# for stable | |
rustup install stable | |
rustup default stable | |
rustup component add rust-analysis | |
rustup component add rust-src | |
# for nightly | |
rustup install nightly | |
rustup default nightly | |
rustup component add rust-analysis | |
rustup component add rust-src | |
# and add rust-analyzer | |
brew install rust-analyzer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment