Skip to content

Instantly share code, notes, and snippets.

@briangershon
Last active January 4, 2016 02:19
Show Gist options
  • Save briangershon/8554453 to your computer and use it in GitHub Desktop.
Save briangershon/8554453 to your computer and use it in GitHub Desktop.
Raspberry PI Setup

Download latest Raspbian and write to SD card

# identify the disk (not partition) of your SD card. e.g. disk4 (not disk4s1)
diskutil list
diskutil unmountDisk /dev/<disk# from diskutil>   # e.g. diskutil unmountDisk /dev/disk4
sudo dd bs=1m if=<your image file>.img of=/dev/<disk# from diskutil>
# e.g. sudo dd bs=1m if=2012-12-16-wheezy-raspbian.img of=/dev/disk4
(This will take a few minutes)

Boot Raspberry PI and install a Bonjour client

sudo apt-get install avahi-daemon

Now you can connect from OSX via:

ssh [email protected]

Install vim:

sudo apt-get install vim

Install node.js via http://blog.rueedlinger.ch/2013/03/raspberry-pi-and-nodejs-basic-setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment