Download the image (or imager for your preferred system).
Add ssh
file in root of boot partition to enable headless SSH access.
See https://www.raspberrypi.org/documentation/configuration/boot_folder.md
for more details.
See also https://www.raspberrypi.org/documentation/configuration/wireless/headless.md for setting up wireless on headless system.