Set up the Raspberry Pi

Connect to your Raspberry Pi, prepare the system, and install BirdNET-Pi via the console.

Contents 2 sections

Requirements

You need a computer, a suitable SD card for your Raspberry Pi with the correct operating system (glossary)The fundamental software that manages a computer — e.g. Windows, macOS, Linux, or Raspberry Pi OS. (see Setting up the SD card), and an internet connection.

Installing BirdNET-Pi

  1. Insert the SD card into the Raspberry Pi.

  2. Connect the Raspberry Pi to power using the power supply. An LED on the Raspberry Pi should light up or blink. It’s best to wait a few minutes so it can boot up.

  3. Open the console (glossary)Text-based interface for sending commands directly to the operating system — also called command line or terminal. .

More information about the console A guide to opening and using the console.
  1. Connect to the Pi with the following command. Use the credentials you entered earlier.
ssh birder@birdnetpi.local
Terminal
PS C:\Users\Name> ssh birder@birdnetpi.local 
The authenticity of host 'birdnetpi.local (2a02:4454:c122:2000:15gc:24b7:f06a:f322)' can't be established. 
ED25519 key fingerprint is SHA256:kfRttaVIh+Z/FbSq9g6adalVfIsgvUtk4o. 
This key is not known by any other names. 
Are you sure you want to continue connecting (yes/no/[fingerprint])?
  1. Confirm the connection.
yes
Terminal
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'birdnetpi.local' (ED25529) to the list of known hosts.
Connection closed by 2a02:4454:c122:2000:15gc:24b7:f06a:f322 port 23
birder@birdnetpi.local's password:
  1. A password prompt should then appear. Enter the password stored in the operating system. Note that the input stays invisible while you type. If you are no longer prompted for a password, start over by entering the command from step 4.
Terminal
birder@birdnetpi.local's password:
Linux birdnetpi 6.12.47+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1~bookworm (2025-09-01) aarch64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/\*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Oct 01 00:00:00 2025 from 2a02:4454:c122:2000:15gc:24b7:f06a:f322
  1. This step is only for the Raspberry Pi Zero 2 W:

    The Raspberry Pi Zero 2 W has too little RAM to install BirdNET-Pi without adjustments. Therefore the so-called swap size has to be increased. It makes sure that, in addition to the physical hardware, part of the SD card is also used as memory. Without this adjustment, BirdNET-Pi cannot be installed on the Zero 2 W. In addition, the Wi-Fi power options have to be adjusted.

sudo sed -i 's/CONF_SWAPSIZE=512/CONF_SWAPSIZE=2048/g' /etc/dphys-swapfile &&
sudo sed -i 's/#CONF_MAXSWAP=2048/CONF_MAXSWAP=4096/g' /etc/dphys-swapfile &&
sudo sed -i '/^exit 0/i sudo iw wlan0 set power_save off' /etc/rc.local

Now restart the Raspberry Pi.

sudo reboot

Then wait a few minutes until the system has fully started and connected to the Wi-Fi. After that, connect to the Pi via SSH again (see steps 4 and 6).

  1. With this command you start the installation of BirdNET-Pi. The process can take several minutes - depending on your internet connection and system performance. Leave the terminal open until the installation is completely finished.
curl -s https://raw.githubusercontent.com/Nachtzuster/BirdNET-Pi/main/newinstaller.sh | bash