How to Find Your Raspberry Pi OS (Raspbian) Version

Which version of Raspberry Pi OS do I have?
John John (304)
1 minute

When you've got so many Raspberry Pi's laying around, it's easy to forget which version of Raspberry Pi OS (formerly Raspbian) you're running. In this guide, I'll show you how to find which version of Raspberry Pi OS is running on your Raspberry Pi.

Note: If you're not using Raspberry Pi OS, visit this guide to check your Linux version (and distribution).

Posted in these interests:
h/pi249 guides
h/linux41 guides

To begin, let's open a shell on your Raspberry Pi. You do this via SSH or using Terminal from your Raspberry Pi Desktop.

If you've got a shell open on your Pi, you can run the following:

cat /etc/os-release

This will print relevant operating system details, including the version and name of the release.

PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION="10 (buster)"

There are a few pieces of relevant information here. We can see the Raspbian/Debian version id "10" plus the codename "buster".

We’re wrapping up 2021 with a list of Pi goodies that were worth the wait!
Ash Ash (354)

Nothing can slow down the Raspberry Pi Foundation, as even in 2021, the team managed to serve up a selection of new Raspberry Pi boards, modules, and fun accessories.