diff --git a/scripts/rust-install.sh b/scripts/rust-install.sh new file mode 100755 index 0000000..3755a9c --- /dev/null +++ b/scripts/rust-install.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# https://www.rust-lang.org/tools/install + +set -E -o errexit -o nounset -o pipefail + +sudo apt install curl -y +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh +source "$HOME/.cargo/env" +rustup update