Skip to main content

CLI Reference

The fused CLI lets you manage Fused from your terminal — run UDFs, manage canvases and files, handle secrets, and connect integrations. It ships with the fused Python package and needs Python 3.10 or newer.

Install​

Install it with uv, which puts fused on your PATH and picks a compatible Python for you:

uv tool install fused

Or install it with pip in a Python 3.10+ environment:

pip install --upgrade "fused>=2"

Run fused --help to check the install. To upgrade later, run uv tool upgrade fused or rerun the pip command.

warning

On Python 3.9, pip install fused installs fused 1.x, which has no fused command, so your shell reports command not found: fused. The "fused>=2" pin makes pip fail with an error instead. Run python3 --version to check: the python3 that ships with macOS is 3.9.

Global flags​

These flags apply to every command:

FlagEnv varDescription
--env TEXTFUSED_ENVOverride the Fused environment: dev, stg, prod, unstable, or a deployment URL.
--format [json|text]FUSED_CLI_FORMATOutput format for command results (json or text).

Commands​

CommandDescription
fused betaDiscover the fused.beta methods published by the Fused team.
fused canvasManage canvases.
fused checkpointManage canvas checkpoints.
fused claudeManage Fused for Claude Code (via the claude CLI).
fused codexManage Fused for Codex (via the codex CLI).
fused completionPrint or install shell tab completion for the fused CLI.
fused copilotManage Fused for GitHub Copilot CLI (via the copilot CLI).
fused cronjobManage scheduled UDF runs.
fused filesManage files stored in Fused.
fused integrationsManage third-party integrations in Fused.
fused json-uiInspect and run JSON-UI widgets.
fused loginAuthenticate and persist credentials.
fused logoutLog out and clear local credentials.
fused runRun a UDF and print the result.
fused secretsManage kernel and user secrets.
fused udfSearch and manage UDFs.
fused udf-schemaPrint the API schema for a UDF.
fused whoamiShow info about the authenticated user or team.