What you need:
- Raspberry Pi RevB
- Raspberry Pi NoIR camera
Download raspbian and install to SD-card. Here is a good guide on how to install the .img file to the card: https://www.andrewmunsell.com/blog/getting-started-raspberry-pi-install-raspbian
Connect ethernet or wifi, then boot the Raspberry Pi and follow configuration options. Make sure you enable the camera option.
When you get to the command-line: