The below instructions apply to installing Raspberry Pi OS on a Pi that can be connected to a screen, keyboard and mouse. If you want to do a headless install, you’ll need to look up instructions for enabling Wi-Fi and SSH by editing files on the system’s microSD card.

What You’ll Need

Raspberry Pi boardmicroSD cardComputermicroSD card reader5V power supply for the PiMonitorHDMI cableKeyboard and/or mouse (If they’re Bluetooth-enabled, they should have a dongle that plugs into the Pi.)

How to Pick a microSD Card

SD cards can come in different sizes and speeds. For size, you should pick the smallest microSD card you can find. For speed class, it would be best to have either a C10 or U1 card. Both ratings can read and write at least 10MB/s. You can go with a 30MB/s U3 card, but bear in mind that the maximum speed of the Raspberry Pi’s hardware is less than that, at only around 25MB/s. As for Application Performance Class, the Raspberry Pi’s hardware can only support A1 cards, so you won’t get any performance boosts on an A2 card.

Set Up Raspberry Pi OS With Raspberry Pi Imager

Before Raspberry Pi Imager came on the scene, flashing Raspberry Pi OS onto a microSD card meant downloading the operating system image from the site and using a third-party tool like BalenaEtcher to write it to a microSD card. Pi Imager essentially combines those two steps and streamlines the process. It finds the latest version of the operating system you’re installing and writes it directly to your microSD card. Pi Imager also caches the download so that if you do another install, it will use a locally-saved copy of the file rather than downloading it again. It will save you some bandwidth and time on multiple installs or reflashes. Pi Imager even comes with a FAT32 formatting tool to erase the card and EEPROM Recovery for boot problems that are unique to the Pi 4. There’s really no reason to use something else unless you need or would like to, as this is the fastest and easiest way to get started.

Set Up Raspberry Pi OS With BalenaEtcher

BalenaEtcher is one of the earliest methods to install an OS on the Raspberry Pi. You can still do this to install Raspberry Pi OS, as well as most Linux distros. You can also try installing Balena OS with it, which lets you manage multiple devices connected to your Raspberry Pi. There are two options for moving forward: choose to download the OS on your current device first or have BalenaEtcher download it automatically. If you planned to download the Raspberry Pi OS image file first, click on “Flash from file” and select the disk image file. If you haven’t downloaded it, click on “Flash from URL” and paste the download link on the URL bar. If you are flashing from URL, be sure to paste the download link and not the link to the download page.

What to Do After Installing Raspberry Pi OS

Once you have Raspberry Pi OS successfully installed on the microSD card, you can remove it from your computer, insert it into your Raspberry Pi, and boot up the device. If everything went well, it should take you directly to the Raspberry Pi setup wizard before bringing you to the desktop. Password-protected accounts are now mandatory in Raspberry Pi OS. As in the past, the default username was “pi” and the password “raspberry,” you’ll need to set your own custom login details. But this is a good thing. You can use third-party disk imagers other than Balena Etcher, like Win32 Disk Imager. However, you will still have to download the Raspberry Pi OS image first and use that as your source when writing to the microSD card.

It didn’t work. What’s wrong?

If something goes wrong with your Raspberry Pi setup, don’t worry: you probably didn’t brick it. It’s not easy to break a Pi accidentally, and wiping the microSD card and starting over won’t have adverse effects. Make sure your microSD card is properly inserted, your power supply is adequate, your HDMI cable is plugged into the first (left) port, and that you’re installing the latest version of the OS. If the full install of Raspberry Pi OS fails repeatedly, try Raspberry Pi OS Lite instead. If you’re still in doubt, Google your problem. There are tons of people sharing experience and tips online, and the more you do with your Pi, the more you’ll find yourself leaning on the collective experience of the community. Once you set up Raspberry Pi OS on your Raspberry Pi, you can work on neat projects like turning your Raspberry Pi into a music server, a wireless access point, or even a retro gaming console.