

The output will be this: Disk /dev/rdisk2 ejectedĬongratulations! You have installed Raspbian successfully! If you do not want to enable SSH or wireless network, you may eject the card after issuing this command. That means Raspbian is written successfully to your card. You will see output similar to this: 1780+0 records inġ866465280 bytes transferred in 54.559682 secs (34209607 bytes/sec) sudo dd bs=1m if=~/iso/-raspbian-stretch-lite.img of=/dev/rdisk2 Make sure that you enter the of value to the right disk number, which in this case is disk2. dev/disk2s1 14Gi 2.3Mi 14Gi 1% 0 0 100% /Volumes/NO NAMEĪs you can see, the last line /dev/disk2s1 represents the microSD card. Localhost:/AB9NdpAfrugkKsX2qHKtPs 465Gi 465Gi 0Bi 100% 0 0 100% /Volumes/MobileBackups You will get something similar to this: $ df -hįilesystem Size Used Avail Capacity iused ifree %iused Mounted on If you want to do it using the command line, fire up Terminal if you're on a Mac or Linux.Įnter this to find the device list: df -h My new PNY 8GB microSD card shows up as "NO NAME". Now, insert the microSD card into its adapter and into your computer. Your image file will be either -raspbian-stretch.img or -raspbian-stretch-lite.img.Ĭreate a directory ~/iso if it doesn't already exist. If you want the non-GUI text-based version, download the zip file that says RASPBIAN STRETCH LITE.Īfter downloading the zip file, unzip it. If you want the GUI version, download the zip file that says RASPBIAN STRETCH WITH PIXEL.

You will install Raspbian on the microSD card.ĭownload the Raspbian Jessie image zip file from this link. Look for Class 10 cards with at least 8GB capacity, preferably a 16GB microSD card. There is no built-in storage, so you will have to use your own microSD card. This tutorial will show you how to install Raspbian on Raspberry Pi Zero W on a Mac using the command line.Ī Raspberry Pi Zero W has a built-in wifi and Bluetooth.
