setup/dev.bash
2025-08-30 17:11:58 +00:00

23 lines
452 B
Bash

#!/usr/bin/env bash
# Curl bash for Debian dev systems
# Copying some practices from the rustup bootstrap script
set -euo pipefail
# Wrapping everything in a function to avoid partial download problems
main() {
sudo apt-get update
sudo apt-get install -y \
curl \
kate \
lua5.4 \
shellcheck \
pv
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
echo "All good"
}
main