Rust installation script

This commit is contained in:
Martin Blazik
2023-02-25 19:21:36 +01:00
parent fbe35a8fa9
commit 4382f72b7c

10
scripts/rust-install.sh Executable file
View File

@@ -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