Getting started
Raspberry Pi 4 · Without a screen (headless). Work through each stage; each one says how to tell it worked and what to try if it didn't.
What you need
-
Power supply Required
The official 15 W (5.1 V 3 A) USB-C supply.
Raspberry Pi Power Supply USB-C 5V 15W — WhiteIn stock · Ships Fri 4 Dec
$24.05 -
microSD card Required
The Pi 4 boots from microSD.
32GB MicroSD card with latest Raspberry Pi OSRaspberry Pi OS pre-installed
In stock · Ships Fri 4 Dec
$49.45 -
Case Recommended
Made for the Pi 4. Pi 5 cases don't fit.
Raspberry Pi 4 CaseIn stock · Ships Fri 4 Dec
$9.00 -
Cooling Recommended
Keeps it at full speed under load.
Official Raspberry Pi 4 Case Fan and HeatsinkFits inside the official Pi 4 case
In stock · Ships Fri 4 Dec
$4.28 -
Display cable Recommended
Two micro-HDMI ports — one micro-HDMI to HDMI cable per screen.
Raspberry Pi Official Micro-HDMI to HDMI Cable — 1m / WhiteIn stock · Ships Fri 4 Dec
$12.53 -
Your Wi-Fi network name and password (or an Ethernet cable)
-
Your computer, on the same network
-
A microSD card reader for your computer
Step by step
-
Stage 1: Check you have everything
- Tick off each item below. Already have one that fits? Tick "I have one" and skip it.
-
Stage 2: Put Raspberry Pi OS Lite on the microSD card
- Download and install Raspberry Pi Imager from the official software page.
- Put the microSD card in a card reader on your computer.
- Open Imager. Choose your device (Raspberry Pi 4), then Raspberry Pi OS (other) › Raspberry Pi OS Lite. Imager only lists versions that run on your device.
- In OS customisation, set: a hostname (for example mypi), a username and password, your Wi-Fi name, password and country, and under Services, turn on SSH.
- Write the card, and wait for it to verify.
Before you start: Writing erases everything on the card. Check you've picked the microSD card, not another drive.Didn't work? Imager can't see or write the card
- Unplug the card reader, plug it back in, and choose the storage again.
- Try another card reader or USB port. Built-in readers on some laptops are unreliable.
- If writing or verifying fails twice, the card is likely faulty. Try another one.
-
Stage 3: Insert the card and power up
- Slide the microSD card into the microSD slot, label side out.
- Plug in power: a 5 V 3 A USB-C supply, such as the official 15 W supply.
- Wait about five minutes. The first boot sets the system up and joins your Wi-Fi.
Didn't work? No light comes on, or it goes off
- Check you're using a 5 V 3 A USB-C supply, such as the official 15 W supply. Phone chargers often can't supply enough.
- Plug the supply into a wall socket that's switched on, not into a USB port on a computer.
Didn't work? A light is on but nothing happens
- If the green light never flickers, the card may not be written or seated properly. Re-seat it, or write it again.
- If the green light flashes in a repeating pattern, count the flashes and look them up in the official getting-started guide.
-
Stage 4: Connect from your computer
- Open a terminal on the same network and run: ssh yourusername@mypi.local (your username and hostname from Imager).
- Type yes to trust the new device, then your password.
Didn't work? ssh can't find it
- Wait a couple more minutes; the first boot can be slow.
- Check your computer is on the same network as the board.
- If yourusername@mypi.local isn't found, look up the board's IP address in your router's device list and use that instead.
- If you didn't turn on SSH in Imager, write the card again with SSH on.
Didn't work? It won't connect to Wi-Fi
- Check the Wi-Fi name and password (both are case-sensitive) and that the Wi-Fi country is set.
- Plug in an Ethernet cable if your board has a port, or write the card again with the right Wi-Fi details.
-
Stage 5: Update
- Run: sudo apt update && sudo apt full-upgrade
- Then: sudo reboot, and reconnect after a minute.
-
Stage 6: Your first command
- Run: vcgencmd measure_temp
Next steps
More help: Installing Raspberry Pi OS with Raspberry Pi Imager · Using a Raspberry Pi remotely
Steps checked against the official documentation on 22 October 2026.
Still stuck?
Tell us you have a Raspberry Pi 4 and which stage didn't work, and what you see. We'll help you get it going.