Set up Wifi on your Raspberry Pi without a monitor

If you like to setup Wifi on your Raspberry Pi without a monitor you can after write the image to the SD card.

On my Windows machine after running Raspberry Pi Imager i needed to remove the sd card and add it again to the usb port to see the drive named boot.

In that drive you create a text file named wpa_supplicant.conf and adding this lines in it:

country=US # Your 2-digit country code
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev

After saved this file with your SSID and password for your Wifi this should connect on first boot to your network.

If you running a Raspberry Pi Zero Wireless you can only connect to a 2.4Ghz network, so you know. The normal ones seems to have 5Ghz but not sure from what version.