# rustup # The Rust tool chain installer # update rustup tool chain rustup update # install nightly build rustup install nightly # use rustc from nightly tool chain rustup run nightly rustc --version # switch to nightly installation rustup default nightly # List all available targets for the active tool chain rustup target list # Install the Android target rustup target add arm-linux-androideabi # Run a shell configured for the nightly compiler rustup run nightly bash # Show which tool chain will be used in the current directory rustup show