Self-hosting

CLI reference

genosyn is the cluster-maintainer CLI — a thin bash wrapper around docker. No Node, no Python, just one shell script.

Installing the CLI

The installer at genosyn.com/install.sh downloads the script to /usr/local/bin/genosyn, marks it executable, then runs genosyn install. You can also grab the raw script:

bash
curl -fsSL https://genosyn.com/genosyn -o /usr/local/bin/genosyn
chmod +x /usr/local/bin/genosyn

Commands

genosyn install

Pull the image and start the container. Idempotent — runs cleanly on a clean machine or one that already has Genosyn.

genosyn upgrade[--no-self-upgrade]

Self-upgrade the CLI script, pull the latest image, and recreate the container. Pass --no-self-upgrade to skip the script update.

genosyn self-upgrade

Update only the genosyn CLI script in place. Useful when the container is fine but you want a newer CLI.

genosyn start

Start a stopped container.

genosyn stop

Stop the running container.

genosyn restart

Stop, then start.

genosyn status

Show container state, image, volume, mapped port, and the URL to open.

genosyn logs[-f] [--tail N]

Show container logs. -f follows. --tail caps how many lines to print.

genosyn backup[--out FILE]

Tarball the data volume. Defaults to a timestamped file in the current directory.

genosyn restore<FILE> [-y]

Restore a backup tarball. Destructive — prompts before overwriting unless -y is set.

genosyn uninstall[--purge]

Remove the container. --purge also deletes the data volume. Without --purge, data survives for the next install.

genosyn prune[--dry-run]

Remove orphaned Genosyn images left over from prior upgrades. --dry-run lists what would be removed.

genosyn vllm up[--model <id>] [--port <n>] [--api-key <s>] [--hf-token <t>] [--tp <n>] [--max-model-len <n>] [--parser <name>] [--gpu-util <0..1>] [--tag <t>]

Stand up a self-hosted, OpenAI-compatible vLLM server on a GPU host, then print the Base URL / Model id / API key to paste into Genosyn's Custom provider. Writes a compose file + .env to ~/.genosyn/vllm and drives docker compose. Idempotent — re-run to change the model or add a key. Requires an NVIDIA GPU + nvidia-container-toolkit + Docker Compose on the host.

genosyn vllm status

Show the vLLM container state, whether the API is answering, and the connect URL. (Alias: genosyn vllm ps.)

genosyn vllm logs[-f] [--tail N]

Show vLLM server logs — useful for watching the first model download and load. -f follows.

genosyn vllm down[--purge]

Stop the vLLM server. Downloaded weights are kept by default; --purge also deletes the model cache volume.

genosyn user list[--json]

List all users — email, name, handle, company count, signup date. Reads the app database inside the container (SQLite or Postgres). Pass --json for machine-readable output. (Alias: genosyn users.)

genosyn user reset-password<email> [--password <pw>] [-y]

Reset a user's password — the operator escape hatch when someone is locked out and email isn't configured. Generates a strong password and prints it, or set your own with --password (min 8 chars). Prompts before overwriting unless -y. (Alias: genosyn reset-password.)

genosyn user delete<email> [-y]

Delete a user. Removes their account and company memberships; content they authored (chat, todos, notes) is preserved but unlinked. Refuses if the user is the owner of a company — transfer ownership or delete that company first. Prompts before deleting unless -y.

genosyn version

Print CLI and container image versions.

genosyn help

Show usage.

Environment overrides

Every flag has a matching environment variable. Flags on individual commands take precedence:

GENOSYN_PORT
Host port to expose. Default 8471. Override flag: --port.
GENOSYN_NAME
Container name. Default genosyn. Override flag: --name.
GENOSYN_VOLUME
Data volume name. Default genosyn-data. Override flag: --volume.
GENOSYN_IMAGE
Image reference. Default ghcr.io/genosyn/app:latest. Override flag: --image.
GENOSYN_CLI_URL
Fetch URL for the CLI script used by self-upgrade. Default https://genosyn.com/genosyn.

Examples

Install on a non-default port

bash
genosyn install --port 9000

Follow logs, last 100 lines

bash
genosyn logs -f --tail 100

Daily backup to a known path

bash
genosyn backup --out ~/backups/genosyn-$(date +%F).tar.gz

Remove the container and the data

bash
genosyn uninstall --purge