For Debian Unstable run the following:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/fish:/beta:/4/Debian_Unstable/ /' | sudo tee /etc/apt/sources.list.d/shells:fish:beta:4.list
curl -fsSL https://download.opensuse.org/repositories/shells:fish:beta:4/Debian_Unstable/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_fish_beta_4.gpg > /dev/null
sudo apt update
sudo apt install fish
For Debian 12 run the following:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/fish:/beta:/4/Debian_12/ /' | sudo tee /etc/apt/sources.list.d/shells:fish:beta:4.list
curl -fsSL https://download.opensuse.org/repositories/shells:fish:beta:4/Debian_12/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_fish_beta_4.gpg > /dev/null
sudo apt update
sudo apt install fish
For Debian 11 run the following:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/fish:/beta:/4/Debian_11/ /' | sudo tee /etc/apt/sources.list.d/shells:fish:beta:4.list
curl -fsSL https://download.opensuse.org/repositories/shells:fish:beta:4/Debian_11/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_fish_beta_4.gpg > /dev/null
sudo apt update
sudo apt install fish