This repository contains deb packages of Vaultwarden, a Bitwarden-compatible API server written in Rust. They can be installed in Debian or Ubuntu.
The files in these packages are extracted from the most recent Docker releases of the upstream Vaultwarden repository. The binary is statically linked, so it should run on many amd64 systems.
See the Vaultwarden repository for much more information.
The repository provides two packages:
vaultwarden, the main executable, from dani-garcia/vaultwarden;vaultwarden-web-vault, the Bitwarden web vault, from dani-garcia/bw_web_builds.
Use apt-get install vaultwarden to install both.
To install Vaultwarden and add this repository, run this for Debian 13 (trixie):
wget -qO- https://vaultwarden-deb.pages.dev/dists/trixie/install.sh | sudo bash
sudo apt update
sudo apt install vaultwardenFor Debian 12 (bookworm):
wget -qO- https://vaultwarden-deb.pages.dev/dists/bookworm/install.sh | sudo bash
sudo apt update
sudo apt install vaultwardenFor Debian 11 (bullseye):
wget -qO- https://vaultwarden-deb.pages.dev/dists/bullseye/install.sh | sudo bash
sudo apt update
sudo apt install vaultwardenThe packages can also be downloaded manually from the repository web page.
After installation, Vaultwarden needs to be configured. Edit the configuration file at /etc/vaultwarden.env to change important settings, such as the port number, the database, and security options.
Vaultwarden is added to systemd and can be started and stopped with:
sudo systemctl status vaultwarden
# to start and stop
sudo systemctl start vaultwarden
sudo systemctl stop vaultwarden
# to start on boot
sudo systemctl enable vaultwardenThe packages add the following files:
/etc/vaultwarden.env: the configuration file./usr/bin/vaultwarden: the Vaultwarden server./var/lib/vaultwarden/data: the data directory./var/lib/vaultwarden/web-vault: the files for the Bitwarden web vault./var/log/vaultwarden: the log file.