#!/usr/bin/env bash # Curl bash for Debian 13+ dev systems # Copying some practices from the rustup bootstrap script set -euo pipefail # Wrapping everything in a function to avoid partial download problems main() { mkdir -p "$HOME/.config/nano" echo "set tabsize 4" > "$HOME/.config/nano/nanorc" sudo apt-get update sudo apt-get install -y extrepo sudo extrepo enable \ syncthing \ torproject sudo apt-get install -y \ borgbackup \ curl \ ffmpeg \ gimp \ git \ kate \ keepass2 \ konsole \ lua5.4 \ mpv \ pv \ shellcheck \ syncthing 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