diff --git a/openocd/RaspberryPi.md b/openocd/RaspberryPi.md
index b6a35be1a854f6487aa0f76545d738dd9f152ee0..47ddd6f8ba5b0c94f9e24cab1dec7dd416ecd575 100644
--- a/openocd/RaspberryPi.md
+++ b/openocd/RaspberryPi.md
@@ -6,8 +6,6 @@
 
 ```
 diskutil unmountDisk diskn
-```
-```
 sudo dd bs=1m if=~/Documents/2017-09-07-raspbian-stretch-lite.img of=/dev/rdiskn conv=sync
 ```
 
@@ -16,23 +14,11 @@ Wait.
 2. Set up ssh.  We prefer over usb: https://www.thepolyglotdeveloper.com/2016/06/connect-raspberry-pi-zero-usb-cable-ssh/
 ```
 sublime /Volumes/boot/config.txt
-```
-```
 dtoverlay=dwc2
-```
-```
 sublime /Volumes/boot/cmdline.txt
-```
-```
 modules-load=dwc2,g_ether
-```
-```
 touch /Volumes/boot/ssh
-```
-```
 ssh pi@raspberrypi.local
-```
-```
 raspberry
 ```
 
@@ -44,6 +30,7 @@ passwd
 4. Get OpenOCD with nrf52 patch.
 5. Make and install.  You may need to install some things, and you might need to share internet from your PC over the usb connection.
 ```
+sudo apt-get update
 sudo apt-get install autoconf automake libtool git
 ```
 ```