Raspberry Pi creation cheat sheet

For a fresh Pi
  • Touch ssh in Noobs files
  • Install Raspbian Lite
  • passwd
  • sudo passwd
  • sudo apt update --fix-missing
    • (update lists of softwares)
  • sudo apt full-upgrade
    • (add/remove packages at will)
    • (or in old versions, apt-get dist-upgrade)
  • sudo apt-get install git
    • Also tmux
    • -y flag will not ask yes/no to the installations
  • sudo raspi-config Lots of options here
  • curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
  • nvm install stable
To create images:
  • diskutil list
  • diskutil unmountDisk /dev/diskN
  • sudo dd if=/dev/rdiskN of=./image.dmg bs=16m