After the install: My setup script for Debian Bookworm

Last edited on 2023-06-11 Tagged under  #debian   #linux   #python   #programming   #openbox   #sway 

debian-after-install is a setup script for Debian 12 GNU/Linux aka "Bookworm". It is ideally run after first boot into a minimal install of Debian.

Run -h for options.


  • Choice of either minimal, server, or desktop (a choice of Openbox or Sway) configuration
  • Upgrade system
  • Install extra packages
  • Auto-install security updates
  • Setup zram for swap
  • Customize GRUB
  • User configuration
  • Select different keyboard and console-font

How does it work?

Sync package repositories and install git:

sudo apt update && sudo apt install git


git clone

Change directory and run script with your username as the sole argument:

cd debian-after-install
sudo ./ <your_username>

Source: debian-after-install

Thanks for reading! Read other posts?

» Next: #18. Debian Astro

« Previous: #17. Pytest Spacecraft