How to Install Bitwarden Password Manager on Debian 11

Install Bitwarden Password Manager on Debian 11

In this article, we will have explained the necessary steps to install Bitwarden Password Manager on Debian 11. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Bitwarden is the easiest and safest way to store all of your logins and passwords while conveniently keeping them synced between all of your devices. It allows you to store all of your login credentials and keep them synced between all of your devices. It is designed for individuals, teams, and business organizations to manage their credentials from a centralized location. Bitwarden provides both free and premium plans and is available for Linux and all other major operating systems, like Windows and macOS also has extensions for all the popular web browsers, such as Chrome, Firefox, Edge, etc.

Install Bitwarden Password Manager on Debian 11

Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.

sudo apt update
sudo apt upgrade
sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common

Step 2. Install Docker and Docker Compose.

Add the Docker’s repository to your system:

echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list

Then, add the Docker GPG key:

curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

After that, install Docker, Docker Compose, and other crucial Docker tools using the following commands:

sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io

You can confirm the version of Docker installed as shown:

docker --version

Step 3. Install Bitwarden Password Manager on Debian system.

Installing Bitwarden on your Debian system is straightforward, Installing Bitwarden on your Debian system is straightforward, The installation of Bitwarden requires you to provide an installation key and ID. To obtain these crucial details, head over to the Bitwarden page and provide your email address.

Install Bitwarden Password Manager on Debian 11

Now download the Bitwarden installation script using the following command:

curl -Lso bitwarden.sh https://go.btwrdn.co/bw-sh

Next, set the execution permission using the following command:

chmod +x bitwarden.sh

Finally, start the installation using the following command:

./bitwarden.sh install

Output:

 _     _ _                         _            
| |__ (_) |___      ____ _ _ __ __| | ___ _ __  
| '_ \| | __\ \ /\ / / _` | '__/ _` |/ _ \ '_ \ 
| |_) | | |_ \ V  V / (_| | | | (_| |  __/ | | |
|_.__/|_|\__| \_/\_/ \__,_|_|  \__,_|\___|_| |_|

Open source password management solutions
Copyright 2015-2021, 8bit Solutions LLC
https://bitwarden.com, https://github.com/bitwarden

===================================================

bitwarden.sh version 1.44.0
Docker version 20.11.9, build c2ea9bc
docker-compose version 1.26.0, build unknown

The installation will then continue and complete successfully with additional steps printed at the very end. Next, start the Bitwarden using the following command:

./bitwarden.sh start

Output:

_     _ _                         _            
| |__ (_) |___      ____ _ _ __ __| | ___ _ __  
| '_ \| | __\ \ /\ / / _` | '__/ _` |/ _ \ '_ \ 
| |_) | | |_ \ V  V / (_| | | | (_| |  __/ | | |
|_.__/|_|\__| \_/\_/ \__,_|_|  \__,_|\___|_| |_|

Open source password management solutions
Copyright 2015-2021, 8bit Solutions LLC
https://bitwarden.com, https://github.com/bitwarden

===================================================

bitwarden.sh version 1.46.0
Docker version 20.11.9, build c2ea9bc
docker-compose version 1.26.0, build unknown

Pulling mssql         ... done
Pulling web           ... done
Pulling attachments   ... done
Pulling api           ... done
Pulling identity      ... done
Pulling sso           ... done
Pulling admin         ... done
Pulling portal        ... done
Pulling icons         ... done
Pulling notifications ... done
Pulling events        ... done
Pulling nginx         ... done

Creating network "docker_default" with the default driver
Creating network "docker_public" with the default driver
Creating bitwarden-web           ... done
Creating bitwarden-mssql         ... done
Creating bitwarden-sso           ... done
Creating bitwarden-icons         ... done
Creating bitwarden-attachments   ... done
Creating bitwarden-identity      ... done
Creating bitwarden-notifications ... done
Creating bitwarden-api           ... done
Creating bitwarden-events        ... done
Creating bitwarden-admin         ... done
Creating bitwarden-portal        ... done
Creating bitwarden-nginx         ... done
1.43.0: Pulling from bitwarden/setup
Digest: sha256:29bd077g0det7f74c832c8032f1bea41emeilanaf7d439a8f2912
Status: Image is up to date for bitwarden/setup:1.46.0
docker.io/bitwarden/setup:1.46.0


Bitwarden is up and running!
===================================================

visit https://192.168.77.20
to update, run `./bitwarden.sh updateself` and then `./bitwarden.sh update`

Step 4. Launch Bitwarden Web Interface.

Open any web browser that can access the URL https://your-server-ip. You will get the following page:

Install Bitwarden Password Manager on Debian 11

That’s all you need to do to install Bitwarden on Debian (Bullseye). I hope you find this quick tip helpful. For further reading Bitwarden Password Manager on Debian’s system, please refer to their official knowledge base. If you have questions or suggestions, feel free to leave a comment below.