Skip to content

Instantly share code, notes, and snippets.

@justanotherdot
Created August 25, 2020 03:40
Show Gist options
  • Save justanotherdot/a04f1164db6a2d0473e8cb0e75d4ca04 to your computer and use it in GitHub Desktop.
Save justanotherdot/a04f1164db6a2d0473e8cb0e75d4ca04 to your computer and use it in GitHub Desktop.
Minimal nightly install via rustup.
#!/bin/sh -eu
export CARGO_HOME="/usr/local/cargo"
export RUSTUP_HOME="/usr/local/rustup"
export PATH="$CARGO_HOME/bin:$PATH"
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none -y && rustup toolchain install nightly --profile minimal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment