Video coming soon…

🛠️ Setup Atuin — Self-Hosted Shell History Sync

Deploy Atuin on Ubuntu with Docker and PostgreSQL — a sync server for your shell history that stores it in a searchable database, encrypted and synced across machines, on port 8888.

⚠️ This script is provided for demo and testing purposes only. Not intended for production use.

📦 Resources & Setup Scripts

Grab the automated bash script from GitHub to follow along with the video.

Automated install script — one command deploys the Atuin sync server with PostgreSQL on port 8888. Register from the Atuin CLI on your machines.
View on GitHub

Quick Install:

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/dev/atuin/atuin-ubuntu.sh
chmod +x atuin-ubuntu.sh
sudo bash atuin-ubuntu.sh

Tutorial Steps

1 Download the Script

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/dev/atuin/atuin-ubuntu.sh

2 Make it Executable

chmod +x atuin-ubuntu.sh

3 Run the Installer

The script installs Docker if needed, generates a database password, and starts the Atuin server with PostgreSQL 16 on port 8888, with open registration enabled so your machines can create an account.

sudo bash atuin-ubuntu.sh

4 Point the Atuin CLI at Your Server

There's no web UI — install the Atuin CLI on each machine, set the sync address to your server, then register and sync:

atuin register -u <you> -e <email>

Ports Used

PortPurpose
8888Sync API (host → container 8888) — CLI-driven, no web UI
internalPostgreSQL 16 (atuin-db, not published)
./dbSynced (end-to-end encrypted) history

Overview

Why Use It

When You Need It

    Who Should Use It

      Real Use Cases

        Main Features

          How to Use After Installation

            Security Best Practices

              Ports and Firewall Notes

              Backup and Maintenance

                Common Mistakes

                  Troubleshooting

                    Alternatives

                    When Not to Use It

                    PrismaTechWork Professional Help

                      Contact Us

                      Frequently Asked Questions