Getting started

A Raspberry Pi device is a compact computer that is commonly used in two main ways: either as a desktop computer or as a headless (remote) computer. For more information about these options, see Set up your Raspberry Pi.

Raspberry Pi devices are available in several series:

  • Classic single-board computers (SBC). Classic Raspberry Pi devices (sometimes referred to as 'flagship' models) that you can connect to a monitor, keyboard, and mouse like a desktop computer. For detailed information about classic SBCs, see Classic single-board computers.

  • Raspberry Pi Zero. A smaller version of classic Raspberry Pi devices with fewer USB ports and lower power consumption. For detailed information about Raspberry Pi Zero models, see Zero models.

  • Raspberry Pi keyboard computers. Devices that have the computer built into a keyboard case, designed to be plugged into a monitor and mouse. For detailed information about Raspberry Pi keyboard computers, see Keyboard computers.

  • Raspberry Pi Compute Modules. Small system-on-module versions of Raspberry Pi computers designed for industrial and embedded applications. For detailed information about Raspberry Pi Compute Modules, see Compute Module hardware.

  • Raspberry Pi Pico. A microcontroller board that uses Raspberry Pi microcontrollers (RP2040 or RP2350). For detailed information about Raspberry Pi Pico, see Pico microcontroller boards.

This page focuses on classic SBCs, but much of the information also applies to Raspberry Pi Zero and keyboard computers.

Hardware prerequisites

To set up a Raspberry Pi device, you need the following hardware. These components are prepared and assembled in the order listed:

  • Boot media with an OS installed on it.

  • For a desktop setup, input and output peripherals, listed in Equipment.

  • For a headless setup, another computer and a network connection.

  • A power supply. For guidance, see Power supply.

Additionally, you can use:

  • A Raspberry Pi case. This helps to protect your Raspberry Pi device from damage or from short-circuiting if it’s placed on a metal surface.

  • An Ethernet (RJ45) cable to connect your Raspberry Pi to a wired network. You don’t need this to connect to a wireless network. You can connect to Wi-Fi with its SSID and password instead.

Boot media

To function as a computer, your Raspberry Pi requires non-volatile storage containing an operating system (OS) image. This storage is called boot media, and the most common type is a microSD card. Some newer Raspberry Pi models can boot from other media, such as USB Mass Storage, network boot (PXE), and NVMe storage through PCIe.

You must configure your boot media before you assemble your Raspberry Pi, unless you are using a network install on Raspberry Pi 4B, 5, 500, or 500+, in which case you use the Raspberry Pi itself to configure the boot media.

Whichever storage device you choose for your boot media, it must have enough storage and speed to act as a hard-drive that holds your OS image. An OS image is pre-packaged software that, when installed onto your boot media, transforms your Raspberry Pi from a blank board into a working computer.

For step-by-step guidance on configuring the boot media for your Raspberry Pi, see Install an OS onto boot media.

Faster storage devices with higher read and write speeds improve the overall performance of your Raspberry Pi, making it run more smoothly. If you’re unsure which SD card to buy, consider an official Raspberry Pi microSD card. You might also need an SD card reader so that you can connect your microSD card to your computer to install an OS.

A Raspberry Pi microSD card.
An official 128 GB Raspberry Pi microSD card

All models since Raspberry Pi Model B+ have a microSD card slot; these Raspberry Pi devices automatically boot from an inserted microSD card with a valid OS image.

If you have a Raspberry Pi keyboard computer (Raspberry Pi 400, 500, or 500+), or if you have a Raspberry Pi computer as part of a kit, your OS is already configured. You can change your configuration from the Control Centre or using raspi-config from the Terminal. For instructions, see Configuration.

The boot media storage that you need depends on how much software is included in the OS version you install.

The following recommendations are enough to get started based on your chosen OS, but we recommend choosing more storage space to allow room to grow:

  • For Raspberry Pi OS (desktop with basic software), we recommend using an SD card with at least 32 GB of storage.

  • For Raspberry Pi OS Full (desktop with basic software and recommended applications), we recommend using an SD card with at least 32 GB of storage.

  • For Raspberry Pi OS Lite (a command-line-only version for headless setups), we recommend using an SD card with at least 8 GB of storage.

Other operating systems might have different storage requirements, so always check the documentation for the OS you plan to install.

Maximum supported capacity

You can use any SD card with a capacity of less than 2 TB. Cards with capacities above 2 TB aren’t supported because they exceed the limitations of the Master Boot Record (MBR). MBR is a partitioning system used on the SD card that tells your Raspberry Pi where to find the OS so that it can start up.

Some older Raspberry Pi devices can only boot from a boot partition of 256 GB or less. These include:

  • Raspberry Pi Zero.

  • The first classic Raspberry Pi device.

  • Early Raspberry Pi 2 models with the BCM2836 SoC.

Inserting a microSD card

You must configure your microSD card before inserting it into your Raspberry Pi. For step-by-step guidance on configuring the boot media for your Raspberry Pi, see Install an OS onto boot media.

When you’ve configured your microSD card with an OS, insert it into the microSD slot with the label facing away from the Raspberry Pi.

Inserting a microSD card into a Raspberry Pi.
Inserting a microSD card into a Raspberry Pi

For Raspberry Pi 3 and later, and for all Raspberry Pi Zero models, the microSD card slides in and stops without a click, and is removed by gently pulling on it. Older models require you to first push the microSD card to unlock it.

Equipment

A headless setup only requires another computer with a network connection. For more information, see Headless (remote) setup.

Depending on your device and use case, most desktop setups require input and output peripherals (like a keyboard, mouse, and monitor). You must also have the appropriate cables for connecting these peripherals to your Raspberry Pi.

To connect to a monitor, Raspberry Pi 4B, 400, 5, 500, and 500+ need a micro-HDMI-to-HDMI cable; Raspberry Pi Zero and Zero 2 need a mini-HDMI-to-HDMI cable. You can also use an adapter.

Input peripherals (keyboard and mouse)

You can use any of the USB ports on your Raspberry Pi to connect a wired keyboard and a wired mouse. If you want to save the high-speed USB 3.0 (blue) ports for other, high-speed accessories, use the USB 2.0 (black) ports on your Raspberry Pi for your peripherals.

Plugging a keyboard into a Raspberry Pi.
Plugging a keyboard into a Raspberry Pi
Plugging a mouse into a Raspberry Pi.
Plugging a mouse into a Raspberry Pi

If you’re using an official Raspberry Pi keyboard or a Raspberry Pi keyboard computer, you can connect a wired mouse to one of the USB ports at the back. This keeps more USB ports available on your Raspberry Pi device.

Raspberry Pi Zero USB devices

Raspberry Pi Zero models use micro USB instead of full-size USB, and so require a micro USB OTG adapter. One of the micro-USB ports is labelled PWR IN and is reserved for power input only, but you can use any of those labelled USB.

Raspberry Pi Zero devices don’t supply enough power for both a keyboard and a mouse (unless the keyboard has a built-in touchpad). For this reason, you need to plug a powered USB hub into the micro USB OTG adapter connected to your Raspberry Pi Zero. You can then plug a mouse into the USB hub.

Note
Plugging in a USB device to a Raspberry Pi Zero after it has booted can cause the voltage to drop enough that it causes the CPU to reboot. We therefore recommend that you use a powered USB hub, or that you connect USB devices before booting up.
Wireless input devices

If you want to use a wireless keyboard or mouse, we recommend setting this up after you’ve configured and assembled your Raspberry Pi for the first time with a wired keyboard and mouse. You can then either use:

  • A keyboard or mouse with a USB Bluetooth receiver. Plug the USB dongle for the keyboard or mouse into a USB port on your Raspberry Pi to connect it.

  • A keyboard or mouse with built-in Bluetooth to connect to your Raspberry Pi. If your Raspberry Pi model supports Bluetooth, pair the keyboard with your Raspberry Pi.

For instructions, see Connect Bluetooth peripherals in the Configuration page. For a list of Raspberry Pi models that come with Bluetooth, see Networking.

Output peripherals (display and audio)

If you’re setting your Raspberry Pi up as a desktop computer, it needs a display so that you can see what you’re doing. Additionally, you can connect speakers or headphones for audio output. If you’re using an official Raspberry Pi Monitor, you can connect speakers or headphones through the 3.5 mm audio jack at the back of the display.

Displays

You can use the display outputs available on your Raspberry Pi to connect monitors. If your Raspberry Pi has more than one HDMI port, plug your primary monitor into the port marked HDMI0.

Note
Displays typically require their own source of power. If you’re using an official Raspberry Pi Monitor, you can connect your monitor to power through a USB power cable connected to your Raspberry Pi. When you power on your Raspberry Pi, it then provides power to the Raspberry Pi monitor.

On Raspberry Pi 4 and later, both HDMI outputs support up to 4K resolution, though at different refresh rates depending on model.

Plugging a micro HDMI cable into a Raspberry Pi.
Plugging a micro HDMI cable into a Raspberry Pi

While newer Raspberry Pi models use micro HDMI, and Raspberry Pi Zero models use mini HDMI, most displays use full-size HDMI. You can use a micro-HDMI-to-HDMI cable or mini-HDMI-to-HDMI cable (or an mini-HDMI-to-HDMI adaptor) to connect these models to an HDMI display. If your display doesn’t have an HDMI connector, use an adapter cable to convert the HDMI end into a DVI-D, DisplayPort or VGA connector.

The following table lists the available display outputs and recommended cable adapters for different Raspberry Pi models.

Available display outputs and cable adapters
Model Display outputs Cables and adapters for displays using full-size HDMI

Raspberry Pi 5, 400, 500, and 500+

Two micro-HDMI ports for dual display support.

Use a micro-HDMI-to-HDMI cable; connect the larger (full HDMI) end of the cable to your display.

Raspberry Pi 4 Model B

Two micro-HDMI ports, plus a 3.5 mm TRRS jack for audio and composite video.

Use a micro-HDMI-to-HDMI cable; connect the larger (full HDMI) end of the cable to your display.

Raspberry Pi 3 (all models)

HDMI port plus a 3.5 mm TRRS jack for audio and composite video.

Use a standard HDMI cable.

Raspberry Pi 2 Model B

HDMI port plus a 3.5 mm TRRS jack for audio and composite video.

Use a standard HDMI cable.

Raspberry Pi 1 Model A+ and B+

HDMI port plus a 3.5 mm TRRS jack for audio and composite video.

Use a standard HDMI cable.

Raspberry Pi 1 Model A and B

HDMI port plus a 3.5 mm TRRS jack for audio, and phono jack for composite video.

Use a standard HDMI cable.

Raspberry Pi Zero (all models)

Mini HDMI port.

Use a mini-HDMI-to-HDMI cable; connect the larger (full HDMI) end of the cable to your display.

Note
No Raspberry Pi models support video over USB-C (DisplayPort Alt Mode). No USB-C port on a Raspberry Pi can be used to connect a monitor.

If your display has more than one HDMI connector, check the number of the port that you connect to. This number represents the input that you need to switch to in order to see what your Raspberry Pi is displaying.

Audio

Depending on your Raspberry Pi model, you can output audio over HDMI, USB, Bluetooth, or 3.5 mm jack. You can also connect to audio through the 3.5 mm jack at the back of an official Raspberry Pi Monitor.

  • All Raspberry Pi models with HDMI, micro HDMI, or mini HDMI support audio output over HDMI.

  • All Raspberry Pi models support audio over USB.

  • All Raspberry Pi models that are equipped with Bluetooth support Bluetooth audio.

  • All variants of Raspberry Pi 1, 2, 3, and 4 include a 3.5 mm auxiliary TRRS jack, which might require amplification for sufficient output volume. The TRRS jack provides line-level output, not amplified speaker-level output.

Power supply

Connecting your Raspberry Pi to power is the last step in setting up your hardware. We recommend using an official Raspberry Pi power supply suitable for the Raspberry Pi model you’re powering.

Your Raspberry Pi turns on as soon as you connect it to power. This is true unless you’ve edited your EEPROM settings to keep your Raspberry Pi 5 device powered off until you press the power button.

We recommend using an official Raspberry Pi power supply.

Different Raspberry Pi models require different amounts of power to run properly. The following table lists which USB Power Delivery mode is required for each model.

Note
The recommended voltage requirements shown here are measured at the plug, not the supply. Allow for voltage loss in the cable, especially if your power supply cable is removable.
Recommended power supply depending on Raspberry Pi model
Model Recommended voltage at current Recommended Raspberry Pi power supply

Raspberry Pi 500+

5 V at 5 A

27 W USB-C power supply

Raspberry Pi 5 and Raspberry Pi 500

5 V at 5 A; 5 V at 3 A limits peripherals to 600 mA

27 W USB-C power supply

Raspberry Pi 4 Model B and Raspberry Pi 400

5 V at 3 A

15 W USB-C power supply

Raspberry Pi 3 (all models)

5 V at 2.5 A

12.5 W Micro USB power supply

Raspberry Pi 2 Model B

5 V at 2.5 A

12.5 W Micro USB power supply

Raspberry Pi 1 (all models)

5 V at 2.5 A

12.5 W Micro USB power supply

Raspberry Pi Zero (all models)

5 V at 2.5 A

12.5 W Micro USB power supply

Connecting to power

Before powering on your Raspberry Pi you must flash (write) the operating system (OS) image onto the storage for your device, otherwise your Raspberry Pi won’t start. For more information, see Boot media.

After configuring your boot media, inserting it into your Raspberry Pi, and assembling all the necessary peripherals, plug your power supply into the port on your Raspberry Pi labelled either POWER IN, PWR IN, or PWR. Some Raspberry Pi models, such as the Zero series, have output USB ports with the same form factor as the power port. Use the correct port on your Raspberry Pi. Then, plug the other end of the power supply into an electrical socket and turn it on.

The Raspberry Pi then powers on, indicated by the power or status LED lighting up. It then shows you an information screen with the Raspberry Pi logo on it. Next, your Raspberry Pi loads its operating system from your boot media.

Plugging a power supply into a Raspberry Pi.
Plugging a power supply into a Raspberry Pi

Networking

The following table lists the connectivity specifications for Raspberry Pi devices.

If your Raspberry Pi device doesn’t have an Ethernet port, you can still connect to a wired internet connection using a USB-to-Ethernet adapter.

Similarly, if your Raspberry Pi device doesn’t have built-in Wi-Fi, you can still connect to a wireless internet connection using a USB-to-Wi-Fi adapter.

Raspberry Pi models with built-in connectivity
Model Name Wireless Ethernet

Raspberry Pi 3B+ and newer

Yes. Dual-band Wi-Fi (2.4/5 GHz)

Yes. 300 Mb/s for Rasberry Pi 3B+, and Gigabit Ethernet for Raspberry Pi 4B and newer

Raspberry Pi 3B

Yes, 2.4 GHz only

Yes

Raspberry Pi 3A+

Yes. Dual-band Wi-Fi (2.4/5 GHz)

No

Raspberry Pi 1B, 1B+, and 2B

No

Yes

All keyboard computers (Raspberry Pi 400, 500, and 500+)

Yes. Dual-band Wi-Fi (2.4/5 GHz)

Yes. Gigabit Ethernet

Raspberry Pi Zero W and Zero 2 W

Yes, 2.4 GHz only

No

Compute Module 5 (CM5) and Compute Module 4 (CM4)

Optional dual-band Wi-Fi (2.4/5 GHz)

Yes. Gigabit Ethernet.

Compute Modules 3+ (CM3+) and older

No

Optional

Set up your Raspberry Pi

A Raspberry Pi is commonly used in two ways:

  • As a desktop computer. An interactive system with a desktop environment. This setup requires a display, a cable to connect your Raspberry Pi to the display, a keyboard, and a mouse. For information about these accessories, see Equipment.

  • As a headless computer. A system that operates without traditional peripherals (display, keyboard, and mouse). You access it through Raspberry Pi Connect or from another computer on the same network using SSH over Wi-Fi or Ethernet. You can preconfigure the hostname, user account, network connection, and SSH access when you install an operating system.

Standard (desktop) setup

Broadly, a desktop setup for your Raspberry Pi involves boot media, peripherals, and power, implemented in order. Network connection is optional.

Step 1. Prepare your boot media

Use Raspberry Pi Imager to install the OS onto your boot media.

This is a prerequisite for using your Raspberry Pi and is where you configure most of its key settings for the first time, including hostname, localisation, user credentials, Wi-Fi connection, and remote access.

Other settings can be configured later. For instructions, see Install an OS onto boot media.

After installing an OS onto your boot media, connect it into your Raspberry Pi. On newer models, this is typically a microSD card inserted into the slot on the underside of the device. If you installed the OS on any other storage device, you can connect it to your Raspberry Pi using other compatible connectors.

Step 2. Connect peripherals

To use your Raspberry Pi as a desktop computer, you can connect the following peripherals:

  • Input peripherals:

    • Keyboard. Required for a desktop computer using a classic Raspberry Pi or Raspberry Pi Zero; not required if your Raspberry Pi is a keyboard computer (Raspberry Pi 400, 500, or 500+).

    • Mouse. Required for a desktop computer.

  • Output peripherals:

    • Display. Required for a desktop computer.

    • Audio. Optional.

Attaching the power supply to a Raspberry Pi.
Connecting peripherals to a Raspberry Pi

Step 3. Connect to power

After connecting your peripherals, plug the power supply onto the USB-C (or micro USB on older models) power port on your Raspberry Pi.

Ensure that your power supply meets the voltage and current requirements of your Raspberry Pi model. For more information, see Power supply.

When your Raspberry Pi powers on, a status LED lights up, and if your Raspberry Pi is connected to a monitor, a boot screen appears. This can take a few minutes.

Step 4. Connect to a network (optional)

After you’ve installed an OS onto your boot media and inserted it into your Raspberry Pi, you can set up network connectivity. This can be a wired (Ethernet) connection or a wireless (Wi-Fi) connection.

Connect to a wireless network

Connecting to a wireless network typically happens during boot media configuration. For instructions on configuring your boot media, see Install an OS onto boot media. You can also configure a wireless network later from the desktop or from the command line. For instructions, see Connect to a wireless network in the Configuration page.

Some wireless adapters and some Raspberry Pi models don’t support 5 GHz networks; check the Raspberry Pi Product page for your wireless module to ensure compatibility with your preferred network. For information about which Raspberry Pi models support wireless networks, see Networking.

Connect to a wired network

To connect your Raspberry Pi to a wired network, insert an Ethernet cable into your Raspberry Pi device’s Ethernet port until you hear a click. You can use a USB Ethernet adapter if your Raspberry Pi model doesn’t include an Ethernet port.

Connect the other end of the cable to a port in your network hub, switch, or router. Raspberry Pi OS automatically connects to the network.

To remove the Ethernet cable, press on the clip at the bottom of the connector and gently slide the cable out from the port.

Plugging an Ethernet cable into a Raspberry Pi.
Plugging an Ethernet cable into a Raspberry Pi

Headless (remote) setup

A headless Raspberry Pi operates without a monitor, keyboard, or mouse. You control it remotely over a network. For this, you must have:

  • A network connection (Wi-Fi or Ethernet). Some wireless adapters and some Raspberry Pi models don’t support 5 GHz networks; check the documentation for your wireless module to ensure compatibility with your preferred network. For information about which Raspberry Pi models support wireless networks, see Networking.

  • Remote access using either SSH or Raspberry Pi Connect for the first boot of the device. After first boot, you can also use VNC for remote desktop access.

Note
VNC is incompatible with the Lite versions of Raspberry Pi OS.

We recommend that you set up a headless device using Raspberry Pi Imager. This allows you to:

  • Choose between Raspberry Pi OS and Raspberry Pi OS Lite.

  • Configure networking.

  • Configure remote access.

  • Set user credentials (username and password).

You can additionally enable VNC and Raspberry Pi Connect either from the desktop or by using the interactive raspi-config tool. For instructions, see Remote access.

Step 1. Prepare your boot media

Use Raspberry Pi Imager to transform your storage device into bootable media with the Raspberry Pi operating system installed. During this process, you also also configure the networking, remote access, and user credentials (username and password) required for a headless setup.

  1. Follow the instructions to install an OS onto boot media using Raspberry Pi Imager.

    • Because a headless setup doesn’t require a desktop environment, we recommend choosing Raspberry Pi OS Lite as your operating system in Raspberry Pi Imager.

    • On first boot, only SSH and Raspberry Pi Connect are available for remote access. Ensure that you configure one of these options when customising your operating system with Imager. If you choose not to customise the image using Raspberry Pi Imager, you can instead set up SSH manually.

  2. After installing an OS, connect your boot media to your Raspberry Pi.

    • For most models, this is typically a microSD card inserted into the slot on the underside of the device.

    • If you installed the OS on any other storage device, you can connect it to your Raspberry Pi using the appropriate adapter or a compatible connector.

Step 2. Connect to power

After preparing your boot media and connecting it to your Raspberry Pi, plug the power supply into the USB-C (or micro USB on older models) power port on your Raspberry Pi. Ensure that your power supply meets the voltage and current requirements of your Raspberry Pi model. For more information, see Power supply.

When your Raspberry Pi powers on, a status LED lights up.

Step 3. Connect to a network

After you’ve installed an OS onto your boot media, inserted it into your Raspberry Pi, and connected your Raspberry Pi to power, you can set up network connectivity so that it can communicate with your computer. This can be a wireless (Wi-Fi) connection (typically set up during step 1 using Imager) or a wired (Ethernet) connection.

Connect to a wireless network
Note
Some wireless adapters and Raspberry Pi models don’t support 5 GHz networks, so check the documentation for your wireless model to ensure compatibility with your preferred network. For more information, see Networking.

If you used Imager to set up your SSID and wireless network details in Step 1, your Raspberry Pi attempts to connect to the wireless network on first boot.

If you didn’t set up a wireless network connection in Step 1, connect the headless Raspberry Pi device to a wired network instead. For instructions, see Connect to a wired network.

Note
Previous versions of Raspberry Pi OS made use of a wpa_supplicant.conf file, which can be placed into the boot folder to configure wireless network settings. This functionality isn’t available from Raspberry Pi OS Bookworm and onwards.
Connect to a wired network

If you used Imager to set up your SSID and wireless network details in Step 1, you can skip this step and go to Step 4.

  1. Attach an Ethernet cable into your Raspberry Pi device’s Ethernet port until you hear a click. If your Raspberry Pi model doesn’t include an Ethernet port, use a USB Ethernet adapter.

  2. Connect the other end of the cable to a port in your router. Raspberry Pi OS automatically connects to the network.

Plugging an Ethernet cable into a Raspberry Pi.
Plugging an Ethernet cable into a Raspberry Pi

Step 4. Access your Raspberry Pi

On first boot, the only remote access options to your headless Raspberry Pi are SSH or Raspberry Pi Connect.

If you installed a version of Raspberry Pi OS that includes the desktop (Raspberry Pi OS or Raspberry Pi OS Full), you can now enable VNC for subsequent connections. For instructions, see Remote access.

Manual setup for SSH

If you didn’t customise the image for remote access using Raspberry Pi Imager in Step 1, you can instead set up SSH manually. On your boot media’s bootfs partition:

  1. Create an empty file named ssh.

  2. Create a file named userconf.txt with a single line of text: <username>:<encrypted-password>.

Replace <username> with your username and <encrypted-password> with an encrypted representation of your password.

  • Username. Your username must start with a letter and can only contain lowercase letters, digits, underscores, and hyphens. Your username can be a maximum of 31 characters.

  • Encrypted password. Use OpenSSL to generate an encrypted password. From the command line, run openssl passwd -6 and then, when prompted, enter your password and verify it. This command outputs an encrypted version of the supplied password.

    Note
    On macOS, ensure that you use OpenSSL to run the command. The default SSL application on macOS is LibreSSL, which doesn’t support the -6 parameter. To verify whether you’re running OpenSSL or LibreSSL, run openssl version. You can install OpenSSL with brew install openssl. For more information, see the documentation for OpenSSL, brew, and macOS.

Install an OS onto boot media

To use your Raspberry Pi, you must first install (flash) an operating system (OS) onto your storage device, making it a boot device. By default, Raspberry Pi devices check for an OS on any SD card inserted into the SD card slot. Some Raspberry Pi models allow you to boot an OS from other storage devices, such as USB drives, storage connected through a HAT, and network storage. The following instructions assume that you’re using a microSD card.

We recommend installing an OS to your storage device using Raspberry Pi Imager on another computer. For instructions, see Install using Imager. If you don’t have access to another computer for writing an OS image to the storage device, you might be able to install an operating system directly on your Raspberry Pi from the internet. For instructions, see Install over the network.

Exceptions

Raspberry Pi 500 and some Raspberry Pi desktop and personal computer kits come with a microSD card that’s pre-installed with Raspberry Pi OS. Raspberry Pi 500+ also includes an SSD with Raspberry Pi OS pre-installed. In these cases, you don’t have to follow the installation instructions on this page. However, we recommend that you update the pre-installed software. For instructions, see Update your current Raspberry Pi software.

Updating the software doesn’t move your Raspberry Pi to a new major version of Raspberry Pi OS. For example, if your Raspberry Pi 500+ came with Raspberry Pi OS Bookworm, updating it doesn’t install Trixie. To move to a new major version, reinstall Raspberry Pi OS using Network Install. You don’t need another computer to do this. For instructions, see Move to a new version of Raspberry Pi OS.

If you want to reconfigure your Raspberry Pi, you can do so from the menu at the top of the display attached to your Raspberry Pi. For example, you can set or change your wireless network from the Wi-Fi icon in the top-right corner. For instructions, see Connect to a wireless network in the Configuration page.

Prerequisites

To install an OS on a storage device, you need:

  • A blank storage device to be your boot media, typically a microSD card. For more information, see Boot media.

  • A computer you can use to write the OS image onto your storage device so that your Raspberry Pi can boot from it.

  • A way to plug your storage device into that computer.

Install using Imager

Raspberry Pi Imager is a tool you use to download and write OS images for your Raspberry Pi on Windows, macOS, and Linux. During installation, you can also preconfigure credentials and remote access settings for your Raspberry Pi.

The following steps cover a typical installation. For a detailed set of illustrated instructions, see Raspberry Pi Imager.

  1. Install and launch Imager on your computer. For instructions, see Install Imager.

  2. In the Device tab, select your Raspberry Pi model and then select Next.

  3. In the OS tab, choose an operating system and then select Next. The recommended OS for your Raspberry Pi model is at the top of the list.

  4. Connect your storage device to your computer. For example, plug a microSD card into your computer using an external or built-in SD card reader.

  5. In the Storage tab, select your storage device and then select Next.

    Warning
    Take care to choose the correct storage device, because Imager erases all data on it. We strongly recommend that you keep Exclude system drives selected to prevent you from accidentally erasing your computer’s system drive. If you select a system drive, Imager asks you to enter the drive’s name before it writes to it.
  6. In the Customisation tab, set your hostname, localisation, username and password, Wi-Fi, and remote access, selecting Next after each subtab. For details of each setting, see Customise your operating system.

    We strongly recommend that you customise your OS now. If you’re setting up a headless Raspberry Pi, you must configure Wi-Fi (or use Ethernet) and either Raspberry Pi Connect or SSH, so that you can connect to it after it boots. If you select Skip customisation, the OS asks you for the same information after first boot. For Raspberry Pi OS, this happens in the configuration wizard.

  7. In the Writing tab, review your choices and then select Write.

  8. To confirm that you want to erase your storage device, select I understand, erase and write.

  9. Wait while Imager writes and then verifies the image. We recommend that you let verification finish.

  10. When the Done tab appears, select Finish.

You can now follow the instructions for either the Standard (desktop) setup or the Headless (remote) setup to get your Raspberry Pi started according to your needs.

Install over the network

If you don’t have another computer, you can install an OS directly on your Raspberry Pi using Network Install. Your Raspberry Pi downloads Raspberry Pi Imager over a wired internet connection and runs it, so you don’t need an SD card reader. For instructions, see Install over the network in Raspberry Pi Imager.

Note
If you have a Raspberry Pi 500+ that came with Raspberry Pi OS Bookworm, use Network Install to move to a newer version of Raspberry Pi OS, such as Trixie. For instructions, see Move to a new version of Raspberry Pi OS.

Configuration

Most essential configuration for your Raspberry Pi is typically completed during the OS installation process in Imager.

Configuration on first boot

This section covers post-installation configuration, whether you:

  • Skipped the customisation steps in Imager.

  • Didn’t use Imager to install your OS.

  • Are using a Raspberry Pi with a pre-installed OS, or

  • Want to change settings after installation to tailor your Raspberry Pi to your needs.

If you followed the steps to preconfigure your Raspberry Pi during OS customisation in Imager, as described in Customise your operating system, you don’t need to configure your Raspberry Pi again unless you want to change any settings.

If you have a desktop setup and skipped OS customisation in Imager, or if you’re using a Raspberry Pi with a pre-installed OS, you’re presented with a configuration wizard on first boot.

A headless setup bypasses the configuration wizard; because you preconfigured the settings in Imager, your headless Raspberry Pi boots straight to the network. If you chose SSH for remote access, you can connect remotely to your headless Raspberry Pi by typing ssh [email protected] into the command line on your computer. For more information, see Headless (remote) setup.

You need a monitor and a keyboard to navigate through the configuration wizard. A mouse is optional; you can use the Tab key to advance through the wizard.

If you plan on pairing a USB Bluetooth mouse or keyboard as part of this configuration process, plug the USB adapter in before booting your Raspberry Pi.

The configuration wizard walks you through the following setup options. Select Next in the bottom-right corner to proceed through each of the options.

Welcome and Bluetooth

The following image shows the configuration wizard’s welcome window, which is also when your Raspberry Pi tries to connect to any Bluetooth peripherals it finds.

Note
The IP address on this welcome window is only visible if your Raspberry Pi is connected to a network over Ethernet.
Welcome window of the configuration window.
Configuration wizard welcome window

If you’re using a Bluetooth keyboard or mouse, your Raspberry Pi searches for pairable devices and connects to the first device it finds for each peripheral. This process works with built-in or external USB Bluetooth adapters. If you’re using a USB adapter, plug it in before booting your Raspberry Pi.

Configuration window attempting to pair with a Bluetooth device.
Attempting to pair with a Bluetooth device
Success message for Bluetooth pairing.
Success message for Bluetooth pairing

Country

Use the dropdown menus to set your country, language, and time zone. Optionally, you can also:

  • Select Use English language to ensure that the desktop interface is displayed in English, overriding local language default.

  • Select Use US keyboard to ensure that the OS interprets input from a US-layout keyboard correctly.

Adjust country, language, time zone, and keyboard layout.
Setting your country window in the configuration wizard

User

Configure your username and password for the default user account. Your username must start with a letter and can only contain lowercase letters, numbers, underscores, and hyphens.

Create your username and password.
Create User window in the configuration wizard

Wireless network

Choose your preferred Wi-Fi network from the list. If your network requires a password, you’re then prompted to enter it before continuing. You can skip this step if you prefer.

Selecting a wireless network.
Selecting a wireless network in the configuration wizard

Default browser

Select your default internet browser: Chromium or Firefox. Optionally, to save space on your boot media, uninstall the browser that you don’t set as default.

The Choose Browser page.

Software update

If you configured internet access for your Raspberry Pi, or if your Raspberry Pi is connected to the internet using an Ethernet cable, you can update your OS and software to the latest versions.

During the software update process, the configuration wizard removes the non-default browser if you opted to uninstall it in the Browser step.

A software update can take up to half an hour, depending on how many updates are available and the speed of your internet connection.

You can download the latest software updates during the wizard before you boot for the first time.
Updating your software in the configuration wizard

Finish

When you’ve gone through each step of the configuration wizard, a confirmation window stating that your system is set up appears. Select OK and then Launch (or, if you see Restart instead, select this to reboot your Raspberry Pi). Your configuration is applied to your Raspberry Pi, which then boots and loads the graphical desktop environment where you can use windows, icons, and menus, similar to other desktop computers.

System is up to date.
System update success message
Setup complete.
Setup complete success message

Configuration changes

You can reconfigure your Raspberry Pi from the command line or the desktop.

To reconfigure from the desktop, open the Raspberry Pi icon in the top-left corner, then navigate to Preferences > Control Centre.

To reconfigure from the Terminal, enter sudo raspi-config to open the Control Centre.

For detailed instructions, see Configuration.

Shutdown options

Raspberry Pi OS provides options for safely shutting down, restarting, locking, and signing out of your Raspberry Pi device from the desktop and from the command line.

Desktop shutdown options

The Shutdown Options window in the desktop gives you the following options:

  • Shutdown. Closes all running programs and powers off your Raspberry Pi. Use this option before disconnecting your Raspberry Pi from power.

  • Reboot. Restarts your system. This is useful after applying updates, changing configurations, and connecting to new hardware.

  • Logout. Signs out of your current user account and closes all running programs without shutting down the system.

To lock your screen, use the keyboard shortcut: Ctrl+Alt+L.

Open shutdown options from the desktop

To open the Shutdown Options window from the desktop, select the Raspberry Pi icon in the top-left corner of the system tray, then select Shutdown.

The following devices also offer shutdown shortcuts:

  • Raspberry Pi 5: Double-press the power button to shut the device down (the Shutdown Options window might display briefly).

  • Raspberry Pi 5, 500, or 500+: Single press the power button to open the Shutdown Options window.

  • Raspberry Pi 400: Press Fn + F10 to open the Shutdown Options window.

Shutdown from the desktop menu.
Desktop shutdown option
Shutdown menu.
Desktop shutdown menu

You can use the mouse, or your keyboard cursor keys and Enter key, to select from one of the following options: Shutdown, Reboot, and Logout, described in Desktop shutdown options.

To exit the menu without choosing any of these options, select the cross (×) icon at the top-right corner or press Esc.

Shutdown options from the command line

You can perform most shutdown options from the command line.

Open a Terminal and then use one of the following commands:

Action Command

Shut down your Raspberry Pi

sudo poweroff

Reboot your Raspberry Pi

sudo reboot

When in Console mode, sign out of your Raspberry Pi without shutting down the system

logout

Troubleshooting

If your Raspberry Pi doesn’t boot within 5 minutes, check the status LED. If the status LED is flashing, check the LED warning flash codes to diagnose the problem.

If your Raspberry Pi still doesn’t boot and the LED information doesn’t help you to resolve the issue, try the following:

Next steps

After installing and configuring your Raspberry Pi, you can download software, start using your new Raspberry Pi computer, and connect to the wider community for ideas and support.

Raspberry Pi OS includes pre-installed applications that allow you to start using your Raspberry Pi as soon as possible.

You can download other recommended applications for free: select the Raspberry Pi icon in the top-left corner of the screen, and then select Preferences > Recommended Software. From here, you can install a variety of recommended applications.

For example, if you plan to use your Raspberry Pi as a home computer, you might find LibreOffice useful for writing and editing documents and spreadsheets. You can also make your Raspberry Pi more accessible with the Orca screen reader, found under Universal Access.

Resources

Explore our tutorials to discover various ways you can use your new Raspberry Pi computer.

You can learn to code, control external devices, and build new projects by following tutorials that interest you.

For support with official Raspberry Pi products, or to connect with other Raspberry Pi users, visit the Raspberry Pi forums.

For more inspiration, subscribe to Raspberry Pi Magazine, which features in-depth tutorials, step-by-step projects, coding guides, and community stories.