Official Alby Hub Guide
last updated: September 10, 2025
Flavors:
Setup Alby Hub Desktop
- Download the latest Alby Hub Desktop release from Github here
- Run Alby Hub Desktop
It is recommended to use an always-on device, as receiving payments could otherwise fail.
Setup Alby Hub Server
Requirements:
- a server running a Linux-based distribution or macOS
- reachable from the internet via clearnet and HTTPS
Choose a path:
- Quickstart (only Linux)
- Manual
- Docker
Quickstart
- Follow the Quick start script provided by Alby here
- Visit the Web UI at
ip:8080
orip:8029
(if installed as a service) to continue setup
Docker
- Pull the image from Docker:
$ docker run -v .albyhub-data:/data -e WORK_DIR='/data' -p 8080:8080 ghcr.io/getalby/hub:latest
- Visit the Web UI at
ip:8080
to continue setup
Manual
- Download the latest Alby Hub Server release for your processor from Github here
- Extract it to a folder of your choice, we'll go with
albyhub
, and navigate to it - Create a
data
folder inalbyhub
:mkdir -p data
- Create a
start.sh
script inalbyhub
WORK_DIR="dir/to/albyhub/data" LDK_GOSSIP_SOURCE="" dir/to/albyhub/bin/albyhub
- Now you can either install it as a service or run it via
./start.sh
- Visit the Web UI at
ip:8080
orip:PORT
(if installed as a service) to continue setup
Install as a systemd service (optional)
This focuses on systemd for Linux systems.
macOS uses launchd to handle services, you can follow this really good guide to mirror what we're going to do here.
- Open with your editor of choice
/etc/systemd/system/albyhub.service
- Populate:
[Unit]
Description=Alby Hub
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
Restart=always
RestartSec=1
User=$USER
ExecStart=dir/to/albyhub/start.sh
Environment="PORT=8029"
[Install]
WantedBy=multi-user.target
sudo systemctl enable albyhub
sudo systemctl start albyhub
Attach send
- Navigate to the Connections tab in Alby Hub
- Create a Full Access connection and press Next
- Copy the Nostr Wallet Connect URL via the apposited button
- Paste the copied NWC URL in the NWC send step of the Alby Hub wallet attachment on SN
- Press next
Attach receive
- Navigate to the Connections tab in Alby Hub
- Create a Read Only connection and press Next
- Copy the Nostr Wallet Connect URL via the apposited button
- Paste the copied NWC URL in the NWC receive step of the Alby Hub wallet attachment on SN
- Press next