This script downloads the latest nightly and installs (or uninstalls) it as needed.
The steps are:
- Download an extract Rust into a temporary directory.
- Run the
install.sh
script with the options provided. (Like--uninstall
) - Output necessary config options for the user.
To use:
- Put the script code into any file. (Easiest way is
curl $URL_FROM_RAW_BUTTON_OF_SCRIPT > rustup.sh
) chmod +x rustup.sh
./rustup.sh
to install.