Easy setup instructions for Mac OSX. This was created due to the surprisingly sparse or convoluted documentation currently available for the setup of Raspberry Pi machines on Mac.
- Purchase a Micro-SD card over 8GB.
- Download the Raspberry Pi Imager to your Mac.
- Download the VNC Viewer to your Mac.
-
Plug the SD card into your computer.
-
Download, install, and run the Raspberry Pi Imager into the directory of your choice.
-
Open the application and click
CHOOSE OS. Select the first option forRaspberry Pi OS (32-bit). -
Click
CHOOSE STORAGEand find the SD card that you have set aside for the Raspberry Pi to run on. -
Click
WRITE. This will most likely take several minutes. -
Within the root directory of the SD card, create an empty text file called
ssh. This will allow connections to the Raspberry Pi via SSH. -
Within the root directory of the SD card, create a file called
wpa_supplicant.conf. Within this file, add the following code:
country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
scan_ssid=1
ssid="your_wifi_ssid"
psk="your_wifi_password"
}
Be sure to change your_wifi_ssid to your connection's SSID (usually the name of the network) as well as your_wifi_password to the corresponding WIFI password. Instead of this file, it is possible to connect with an ethernet connection. The internet has some resources on this process.
-
With all file changes saved, you may now eject the SD card. Proceed to insert it into the Raspberry Pi. Also, ensure that your Raspberry Pi is plugged into a power source and within range of the WIFI network you configured earlier.
-
Open a Terminal shell on your OSX. Type the following command:
ssh pi@raspberrypi.local
-
There should be a prompt for a password. This is going to be "raspberry" by default. If you are connecting from a different SSH client, the username of the system is "pi" by default.
-
In order to view the GUI for Raspberry Pi, we can use VNC Viewer. Open VNC Viewer and enter "raspberrypi.local" in the top input bar. Click
Connect Toin order to establish the connection. -
Go through the necessary setup instructions on the Raspberry Pi SSH GUI and begin using your new tool!
- In order to send an entire directory/folder through SSH, perform the following command.
scp -r path/to/local/dir pi@raspberrypi.local:/path/to/remote/dir