setup/dev.bash
2025-08-30 17:16:48 +00:00

33 lines
711 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() {
echo "set tabsize 4" > "$HOME/.config/nano/nanorc"
sudo apt-get update
sudo apt-get install -y \
curl \
git \
kate \
lua5.4 \
shellcheck \
pv
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable
cargo install \
division_of_one \
pulldown-cmark \
rusty_ulid
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "All good"
}
main