A shell script to quickly set up a fresh Raspberry Pi environment. It automatically installs your favorite editors, programs, and Python libraries — fully customizable to fit your needs.
- Installs editors, programs and Python libraries in one shot
- Fully customizable via simple text files
- Supports one-line remote execution
- Sets up NoMachine for remote desktop access
- Configures USB Gadget mode
- Raspberry Pi with a fresh OS install
- Internet connection
curlandgitinstalled
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Buginsideme/RaspConfigurator/refs/heads/main/main)"- Clone the repository:
git clone https://github.com/Buginsideme/RaspConfigurator.git cd $HOME/RaspConfigurator
- Add the programs you want to install to packages.txt
- Add the Python libraries you need to requirements.txt
- Run the script:
chmod +x main ./main
-
Switch to x11 before running the script to avoid a black screen in NoMachine:
sudo raspi-config
-
Enable USB Gadget mode:
sudo rpi-usb-gadget on sudo reboot now
See: rpi-usb-gadget guide
- Test it on the Pi Zero
- Command to run it directly
- Add badges
- Add NoMachine
- Add usage section
- Add description
- Code refactoring
- Improve description
- Add Python and virtual env support