Copy Rassberry Pi zero image (pi 3 image also supported on pi zero) on a SD card https://www.raspberrypi.com/software/ From mac - Finder - open SD card . It opens the root folder We will edit or create 4 files: config.txt cmdline.txt ssh wifi config.txt At the bottom of the file add this line dtoverlay=dwc2 cmdline.txt add this line between rootwait ........ quiet . Should look like this, rootwait modules-load=dwc2,g_ether quiet ssh create an emptyfile named ssh (no extensions) wifi : (pi zero can connect only to 2.5gh Unless you update your firmware) create this file in root : wpa_supplicant.conf add this lines to the file - with your own wifi credentials country=US ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ssid="*******" psk="********" } Insert sd card in raspberry pi zero w , and connect from pc with, ...
From the tech stacks I climbed and learned