Skip to content
Pocket Homelab
Install

Install · any Linux machine or Mac

One command. Every app.

Paste this line into a terminal on a mini PC, a NAS, a Raspberry Pi 4 or 5, a VM or a VPS. It sets up Pocket Core, and from there any of the 95 Pocket apps installs with one click. Or put the apps you want on the same line.

curl -fsSL https://pockethomelab.com/install.sh | sh

Linux (64-bit x86 or ARM) or a Mac · Docker is installed for you on Linux if it is missing

  1. 1

    Paste it into a terminal

    On the Linux machine itself, or over SSH. It asks before installing Docker, and for your sudo password. On a Mac it uses Docker Desktop, OrbStack or Colima.

  2. 2

    Open the address it prints

    From any phone or laptop on the same network, for example http://192.168.1.20:8179. On a VPS, approve the Tailscale link it prints first.

  3. 3

    Create your account

    The setup in the browser asks for a secure address, your apps and Tailscale. Every answer can wait.

At home or on a VPS

It knows where it is.

The same line everywhere. The script sees whether it runs on your home network or on a public server, and sets itself up for that.

At home

Mini PC, NAS, Raspberry Pi or a VM on your network

core.x7k2.box.pockethomelab.netOn your Wi-Fi
  1. 1Run the line on the machine.
  2. 2Open the address it prints, like 192.168.1.20:8179, and create your account.
  3. 3Pick Pocket’s free address and your apps. Every app gets a padlock in a minute.
Away from home: Tailscale, in the setup

On a VPS

Hetzner, Netcup, DigitalOcean… any KVM server

core.x7k2.box.pockethomelab.netOn your tailnet
  1. 1Run the same line on the server.
  2. 2Open the Tailscale link it prints on your phone and approve it.
  3. 3Open the address it ends with on any device with Tailscale, and create your account.
Nothing open to the internetNo ports neededNo key needed

Something else? Add it to the line.

Tailnet only, anywhere

A home box you only want on Tailscale, or a server on AWS, Google Cloud, Azure or Oracle (those look like a home network from inside).

sh -s -- --tailnet

Your own domain on Cloudflare

Pocket at core.pocket.example.com. The token needs Zone · Read and DNS · Edit. Or choose it later in Core: Settings → System.

sh -s -- --cloudflare-token T --cloudflare-domain example.com

No browser at hand

Join Tailscale with an auth key instead of the link: Tailscale → Settings → Keys, pre-approved, not reusable.

sh -s -- --tailscale-key tskey-auth-…

They go at the end of the line, after sh -s --. All options →

Apps on the same line

Tick the apps. Copy the line.

Start from a bundle, add single apps, and the line at the bottom grows with them. It asks for the email you will sign up with, installs Pocket Core and every app you picked, and that account becomes their admin.

1

Start from a bundle

A few apps that belong together. Pick as many as you like.

2

Add single apps

95 apps in 7 groups. Search, or look through one group at a time.

Notes, files and office

Core only
curl -fsSL https://pockethomelab.com/install.sh | sh

What you see

A couple of minutes, then the address.

Everything goes in one folder, ~/pocket: Pocket Core, its app installer and each app you add. Every app gets its own port on this machine until you choose a name with a padlock in the browser. Nothing outside the folder changes, except Docker itself.

  • Update: run the same line again. Your settings stay.
  • Remove it: the same line with sh -s -- --uninstall takes everything off again.
  • More apps later: Pocket Core → Apps → Install app. One click each, updates included.
  • Problems are named: no Docker, a broken Ubuntu mirror, ports in use or a firewall that keeps containers offline are said plainly, with the fix.
$ curl -fsSL https://pockethomelab.com/install.sh | sh -s -- --apps notes,tasks
  ✓ Docker
Installing Pocket Core with notes, tasks.
The email you will create your Core account with (the apps make it their admin): you@example.com
  ✓ Pocket Core 0.40.0
  Installing apps
  notes ........ ok
  tasks ....... ok

  Pocket is running: http://192.168.1.20:8179

  Create your account with you@example.com; the apps are ready (notes, tasks).

  Update: run this command again · Files: /home/you/pocket · Log: /home/you/pocket/install.log

For scripts and the impatient

Everything the browser asks, as options.

Put them after sh -s --. All of them are optional.

--apps notes,tasks
Install these apps right away (app names as in the links on pockethomelab.com/apps).
--bundle office,media
Install whole bundles: essentials, office, developer, media, family, money, health.
--admin-email you@example.com
The email you will sign up with; it becomes the admin of the apps. Asked for when not given.
--address pocket
Pocket’s free address, <random>.box.pockethomelab.net, with a padlock (Let’s Encrypt). It points at this machine’s home-network address, or on your tailnet at Pocket’s own address there.
--address plain
This network’s addresses, http://<this machine>:<port>, no padlock (what you get at home until you choose).
--cloudflare-token T --cloudflare-domain example.com
Your own domain on Cloudflare: Pocket at core.pocket.example.com (--cloudflare-name changes “pocket”).
--tailnet
Pocket as its own device on your tailnet, reachable from nowhere else, needing none of the machine’s ports. A VPS gets this by itself; use it at home, or on AWS, Google Cloud, Azure or Oracle.
--tailscale-key tskey-auth-…
Join the tailnet with this auth key instead of the sign-in link the script prints (for unattended installs).
--private
A firewall rule keeps the ports Pocket’s containers publish off the internet. On by itself on your tailnet.
--domain example.com --email you@example.com
Your own domain anywhere else, open to the internet: *.example.com points here, ports 80/443 reach it.
--dir DIR · --port PORT · --version X.Y.Z
Where everything lives (~/pocket), Pocket Core’s port (8179), a specific release.
--notify URL
Where update notifications go: an ntfy topic or an Apprise URL.
-y
Don’t ask anything (installs Docker if it is missing).
--uninstall
Take Pocket off the machine again: gives the free address back, leaves your tailnet, removes every app with its data, Pocket’s containers and firewall rules. Asks you to type “remove” first.
--uninstall --keep-data
The same, but ~/pocket stays: run the install again later and everything is back.

For example, a VPS with the everyday apps, on your tailnet only: curl -fsSL https://pockethomelab.com/install.sh | sh -s -- --bundle essentials --admin-email you@example.com

No Linux yet? Use a USB stick.

Pocket Box installs the whole system from a USB stick onto a spare PC: Linux, Pocket Core and your apps, with nightly updates that switch back on their own if a release fails.

Pocket Box