Command line: the fluf CLI
Run Fluf headless on a server or any machine with the fluf command: install, serve, pair devices, run as a service, update and uninstall.
The fluf command runs Fluf without the desktop app: on a home server, a cloud VM, or any always-on machine. Your agents, memory, routines and chat apps run there, and you reach them from your browser or phone.
Install#
Mac, Linux and Windows.
Mac and Linux:
curl -fsSL https://fluf.bot/install.sh | shWindows (PowerShell):
irm https://fluf.bot/install.ps1 | iexThe installer needs no Node or compiler and verifies its download. On Mac and Linux it links fluf into ~/.local/bin. Installer settings:
| Variable | Default | What it sets |
|---|---|---|
FLUF_CHANNEL | stable | Release channel: stable or nightly. |
FLUF_VERSION | latest | An exact version to install. |
FLUF_HOME | ~/.fluf | Where the CLI keeps its downloaded versions. |
FLUF_INSTALL_BIN_DIR | ~/.local/bin | Where the fluf link goes. |
curl -fsSL https://fluf.bot/install.sh | FLUF_CHANNEL=nightly shRun Fluf#
| Command | What it does |
|---|---|
fluf or fluf start | Run the Fluf server and open it in your browser. |
fluf serve | Run without opening a browser and print pairing details. For servers. |
Options#
| Option | Environment variable | Default | What it does |
|---|---|---|---|
--port | FLUFS_PORT | 4773 | Port to listen on. |
--host | FLUFS_HOST | Address to listen on. | |
--base-dir | FLUFS_HOME | ~/.flufs | Where Fluf keeps its data. See Configuration and data. |
--no-browser | FLUFS_NO_BROWSER | Don't open a browser. | |
--tailscale-serve | FLUF_TAILSCALE_SERVE | off | Publish Fluf on your tailnet with Tailscale Serve. |
--tailscale-serve-port | FLUF_TAILSCALE_SERVE_PORT | The Tailscale Serve port. |
fluf serve --port 4773 --tailscale-servePair devices#
fluf pairMints a pairing code for the running Fluf and prints it as a QR code. Scan it with your phone or open the link on another computer.
| Option | Default | What it does |
|---|---|---|
--ttl | 5 minutes | How long the code is valid. |
--label | fluf pair | A name for the paired device. |
--tailscale | off | Pair over Tailscale. |
--base-dir | The data folder of the Fluf to pair with. |
To list or revoke pairings and sessions:
fluf auth pairing list
fluf auth pairing revoke <id>
fluf auth session list
fluf auth session revoke <session-id>Run as a service#
Keep Fluf running across logouts and reboots:
fluf service install
fluf service status
fluf service restart
fluf service uninstallIf fluf service status reports a problem, fluf service install repairs it.
Update and uninstall#
fluf update
fluf update --channel nightly
fluf uninstallfluf update downloads a newer version and switches this machine to it. Pass a version to pin one, --yes to skip the prompt. fluf uninstall removes the background service, the launcher and every downloaded version. Your agents and data stay.
Browser setup on Linux#
fluf browser setupPrepares a Linux machine for the agents' browser: allows Chrome's sandbox and installs its libraries.
Diagnose#
| Command | What it does |
|---|---|
fluf trace summary | Summarise recent activity from Fluf's trace log. --since, --limit (default 25). |
fluf triage | Investigate a problem on this machine with Claude Code or Codex and help write a good report. --agent claude or --agent codex. |
Help#
fluf help
fluf <command> --help