Raspberry Pi creation cheat sheet

For a fresh Pi
  • Touch ssh in Noobs files
  • Install Raspbian Lite
  • passwd
  • sudo passwd
  • sudo apt-get update
  • sudo apt-get install git tmux -y
  • 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 sqlite>