Skip to content

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.

2 min readUpdated 28 October 2026

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:

Shell
curl -fsSL https://fluf.bot/install.sh | sh

Windows (PowerShell):

PowerShell
irm https://fluf.bot/install.ps1 | iex

The installer needs no Node or compiler and verifies its download. On Mac and Linux it links fluf into ~/.local/bin. Installer settings:

VariableDefaultWhat it sets
FLUF_CHANNELstableRelease channel: stable or nightly.
FLUF_VERSIONlatestAn exact version to install.
FLUF_HOME~/.flufWhere the CLI keeps its downloaded versions.
FLUF_INSTALL_BIN_DIR~/.local/binWhere the fluf link goes.
Shell
curl -fsSL https://fluf.bot/install.sh | FLUF_CHANNEL=nightly sh

Run Fluf#

CommandWhat it does
fluf or fluf startRun the Fluf server and open it in your browser.
fluf serveRun without opening a browser and print pairing details. For servers.

Options#

OptionEnvironment variableDefaultWhat it does
--portFLUFS_PORT4773Port to listen on.
--hostFLUFS_HOSTAddress to listen on.
--base-dirFLUFS_HOME~/.flufsWhere Fluf keeps its data. See Configuration and data.
--no-browserFLUFS_NO_BROWSERDon't open a browser.
--tailscale-serveFLUF_TAILSCALE_SERVEoffPublish Fluf on your tailnet with Tailscale Serve.
--tailscale-serve-portFLUF_TAILSCALE_SERVE_PORTThe Tailscale Serve port.
Shell
fluf serve --port 4773 --tailscale-serve

Pair devices#

Shell
fluf pair

Mints 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.

OptionDefaultWhat it does
--ttl5 minutesHow long the code is valid.
--labelfluf pairA name for the paired device.
--tailscaleoffPair over Tailscale.
--base-dirThe data folder of the Fluf to pair with.

To list or revoke pairings and sessions:

Shell
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:

Shell
fluf service install
fluf service status
fluf service restart
fluf service uninstall

If fluf service status reports a problem, fluf service install repairs it.

Update and uninstall#

Shell
fluf update
fluf update --channel nightly
fluf uninstall

fluf 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#

Shell
fluf browser setup

Prepares a Linux machine for the agents' browser: allows Chrome's sandbox and installs its libraries.

Diagnose#

CommandWhat it does
fluf trace summarySummarise recent activity from Fluf's trace log. --since, --limit (default 25).
fluf triageInvestigate a problem on this machine with Claude Code or Codex and help write a good report. --agent claude or --agent codex.

Help#

Shell
fluf help
fluf <command> --help

    Search every docs page: setup, agents, models, memory, routines, chat apps and reference.