Rust installation script
This commit is contained in:
10
scripts/rust-install.sh
Executable file
10
scripts/rust-install.sh
Executable 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
|
||||
Reference in New Issue
Block a user