setup/dev.bash
2025-08-30 17:27:12 +00:00

49 lines
1 KiB
Bash

#!/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 \
torproject
sudo apt-get install -y \
borgbackup \
curl \
ffmpeg \
gimp \
git \
kate \
keepass2 \
konsole \
lua5.4 \
mpv \
pv \
shellcheck \
syncthing
systemctl --user start syncthing
systemctl --user enable 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