- Download a Raspbian image (latest is usually a safe bet)
- Download and install Etcher: https://www.balena.io/etcher/
- Write image to SD Card
- Touch an empty file named ssh into the SD card (this enables SSH)
Locate cmdline.txt, append ip=192.168.0.XXX to the end (this gives you a static IP)- Create a wpa_supplicant.conf file on the SD card with the following contents:
country=au
update_config=1
ctrl_interface=/var/run/wpa_supplicant
network={
scan_ssid=1
ssid="your_network_name"
psk="your_network_password"
}
- Boot the raspberry pi
- Browse to your router to find the new raspberrypi’s IP address (router is usually at
192.168.0.1
) - On you macOS, open a new terminal table and run
ssh [email protected]
- The password will be raspberry
- Edit /etc/hostname to change the hostname to something more obvious (reboot)
Install NVM and NodeJS:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
nvm install 8.9.4