Headless Raspberry Pi Zero W setup with SSH and Wi-Fi

Jay Proulx
5 min readApr 19, 2017

Got your first Raspberry Pi? Missing a mini-HDMI adapter, or micro-usb keyboard?

Raspberry Pi’s are capable of running just like any computer, full displays and window management, keyboards and mice, but you probably don’t intend to set one up on your desk and leave it there. More than likely your intent is to use it for a motion-sensitive webcam, IoT device or intelligent adapter or controller.

Once you have your Raspberry Pi setup and deployed, remote management will be required, SSH will be ideal, and you probably didn’t want to install an extra 2.7GB worth of window management anyway.

Here’s what we’ll cover:

  1. Download Raspbian latest
  2. Format your MicroSD card
  3. Write the image to your MicroSD card
  4. Mount the image
  5. Enable SSH
  6. Configure Wi-Fi
  7. Gracefully eject your MicroSD card
  8. Boot your Raspberry Pi

Before we begin, it’s worth noting that the steps I’ll cover are primarily for OS X, however, most of the steps only require small adaptations for other operating systems.

Step 1. Download Raspbian Latest

--

--

Jay Proulx

CXM Practice Director, all things customer experience, AWS Enthusiast, dad, husband, skier, foodie, living in The Cloud