- 01
One command
Copy the command at usedoki.com/login → Add server and paste it in the server’s terminal.
- 02
No open ports
doki-hub connects out to usedoki.com. It doesn’t touch SSH, the firewall or your packages.
- 03
It never sleeps
A server stays on when you close the laptop. It makes a good primary machine.
- 04
It updates itself
Releases are signed. doki-hub checks the signature before installing.
What doki-hub is
It’s the same doki as on the Mac, built for Linux and with no window. It runs as a service, finds your agents’ sessions on the server and shows them in your Inbox.
It has what the Mac has: agents, chat, changes, tasks, flows, usage and settings. What depends on a desktop doesn’t exist on a server: opening Terminal or an editor, screen sharing and dictation.
doki-hub doesn’t write code. It gathers the agents you already use on that server, such as Claude Code or Codex.
dokiMacBook ProOverview
How to install doki-hub on Ubuntu or Debian
Go to usedoki.com/login, open Add server and copy the command. It carries a one-time code that’s valid for 30 minutes.
Paste it in the server’s terminal, as the user that runs your agents. It installs doki-hub for that user, in ~/.doki/hub, and runs it as a service. The server shows up online in your account.
- The installer compares the package’s SHA-256 checksum and installs nothing if it doesn’t match.
- If
tmuxorgitis missing, it tells you thesudo apt installto run. It doesn’t install packages by itself. - On Windows you paste the command in PowerShell and it sets up Ubuntu on WSL2. That path is in beta.
How to open your server from the browser
The server opens in doki in the browser just like a Mac, and it’s listed in the machine switcher with its state.
If you sign in with two-step verification or a passkey, a new browser gets straight in and you get a notice. With just email and password it waits for approval: run doki-hub approve on the server, or approve it from a device that already has access. During the 30 minutes after installing, the first browser gets in even without two-step. To always approve, doki-hub trust-2fa off.
If you’d rather not use the web for the first sign-in, doki-hub pair prints a one-time link in the terminal.
dokiMacBook ProWhat doki-hub changes on your server
Not much. It opens no inbound ports: it connects out to usedoki.com over a websocket. The web app reaches the server through an end-to-end encrypted relay, so usedoki.com only relays ciphertext.
Its pass for usedoki.com is stored in the hub’s config with 0600 permissions. doki’s server keeps only the hash.
One caution: don’t install doki-hub as root on a server you share with other users. The rest is in Security.
Signed, automatic updates
doki-hub checks for new versions every 6 hours and installs them without cutting off agents that are working. doki-hub update installs one right away.
Every release is signed. The hub verifies the signature before installing and won’t accept an old version presented as new.
If you want to control updates yourself, turn them off with DOKI_HUB_NO_UPDATE=1.
How to start
Go to usedoki.com/login
Sign in with your doki account and open Add server.
Copy the command
Pick Ubuntu / Linux. The code in the command is valid for 30 minutes and works once.
Paste it on the server
Use the user that runs your agents. The server shows up online in a moment.
Open it in the browser
Press Open within the next 30 minutes and you’re looking at that server’s Inbox.
Frequently asked questions
Do I need a Mac to use doki-hub?
No. doki-hub runs by itself on the server, and you use it from the browser or your phone with your doki account. If you also have a Mac with doki, sessions from both show up in the same web Inbox.
Does a server with doki-hub count toward my plan?
No. Linux and Windows servers with doki-hub are unlimited and don’t count. Your plan includes 3 Macs, and browsers and phones don’t count either.
Which systems does doki-hub run on?
Ubuntu and Debian, on x86_64 or ARM. On Windows 10 2004 or later it runs inside WSL2 and is in beta.
Does doki-hub open ports on my server?
No. It connects out to usedoki.com and doesn’t listen for inbound connections from the internet. It doesn’t touch SSH or the firewall either.
How do I let another browser or my phone in?
Sign in with two-step verification or a passkey and it gets straight in. If you signed in with just email and password, run doki-hub approve on the server or approve it from a device that already has access. If you’d rather always approve, run doki-hub trust-2fa off.
How is this different from connecting a machine over SSH?
A machine over SSH depends on your Mac: the Mac reaches it and starts agents on it. A server with doki-hub is a full machine on your account and works even with no Mac turned on.
How do I remove a server from my account?
At usedoki.com/login, under Your machines, use Remove. A server with doki-hub isn’t deleted just for being offline. Adding it back takes a new install command.