#!/bin/bash DIR="$(realpath "$(dirname -- "$0")")" export RUSTUP_HOME="$DIR/.rustup" export CARGO_HOME="$DIR/.cargo" curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path exit 0