On a raspberry pi 2 w, you want a os. get raspbian headless.
- Download the imager. https://www.raspberrypi.com/software/
- Get this OS.
- Write it to the sd card.
- Plug it into your raspberry pi, then plug in your mouse keyboard and then monitor for the initial ssh setup
- Debian SSH Setup
change wifi with:
sudo raspi-config