Skip to content

Run the Hub

Run the Hub as a service, change its settings, and choose how people sign in.

Terminal window
kndl hub status # whether the service runs
kndl hub stop # stop it until the next start or login
kndl hub start
kndl logs hub -f # follow its log, ~/.kndl/logs/hub.log

While the Hub is stopped, Sessions keep running on their Runners. The Runners reconnect when it’s back.

Terminal window
curl http://127.0.0.1:7777/health
{"status":"ok"}

/health needs no sign-in. kndl status checks it for you.

The Hub’s settings are in ~/.kndl/hub.env. Either run kndl onboard again, or edit the file and restart the Hub with it:

Terminal window
kndl hub install

Every setting is in the configuration reference.

The Hub needs at least one way to sign in:

  • GitHub sign-in, for a team. Set up the GitHub App, then let people in.
  • Dev login, for a try on one machine. With KNDL_DEV_LOGIN=1, anyone who reaches the Hub signs in under any name. Onboard offers it for a Hub only this machine reaches, and the Hub refuses to start with it unless HOST and HUB_PUBLIC_URL are both loopback.

With neither, the sign-in page says the Hub has no way to sign in turned on.

kndl is an independent project. It is not affiliated with or endorsed by Anthropic. Claude and Claude Code are trademarks of Anthropic, PBC. About kndl