Command line
Generated from binbun --help and each command's own usage, as the Linux build prints them. The guide is The command line.
Usage
usage:
binbun [FILE] the GUI (FILE open in it)
binbun functions FILE
binbun cfg FILE FUNCTION [--dot]
binbun graph FILE FUNCTION [--svg OUT]
binbun eval [--seeds entry|all] [--no-pointers] FILE...
binbun eval types FILE [--debug PATH] [--totals]
binbun decompile FILE [FUNCTION...] [--style PRESET] [--l2] [--stats]
[--disable-pass NAME]... [--debug PATH]
[--view exact|reading] [--symbols[=always|never]]
[--types fixed|plain] [--declarations scoped|top]
[--names numbered|registers]
binbun strings FILE [--min N] [--referenced]
binbun xrefs FILE TARGET
binbun xrefs FILE --from FUNCTION
binbun run FILE FUNCTION --state STATE.toml [--view exact|reading]
[--types fixed|plain] [--declarations scoped|top]
[--names numbered|registers] [--depth N] [--steps N]
[--profile NAME|PATH]
binbun verify FILE [FUNCTION] [--view exact|reading] [--states N] [--shaped N]
[--seed N] [--fuel N] [--project DIR] [--profile NAME|PATH]
binbun verify FILE [FUNCTION] --compare PROFILE,PROFILE... [--states N] [--shaped N]
[--seed N] [--fuel N] [--save DIR] [--states-full]
binbun why FILE FUNCTION [VAR] [--view exact|reading] [--project DIR]
binbun why FILE --all [--view exact|reading]
binbun why FILE --global TARGET
binbun origin FILE FUNCTION VAR [--view exact|reading] [--depth N] [--steps N]
binbun origin FILE --sample N [--seed S] [--view exact|reading]
binbun stages FILE FUNCTION [--view exact|reading] [--stage NAME] [--diff]
[--types fixed|plain] [--declarations scoped|top]
[--names numbered|registers] [--profile NAME|PATH]
binbun sig make --library NAME --version V --licence SPDX [--build ID] [--toolchain T]
[--flags F] [--code] [--no-separators] [--add-to PACK] INPUT...
-o PACK.jsonl.zst [--plain: -o PACK.jsonl]
binbun sig check PACK
binbun sig show PACK [NAME]
binbun sig compare PACK PACK
binbun sig match FILE --pack PACK... [--behaviour] [--answers UNSTRIPPED]
binbun sig eval CASES --packs DIR [--sweep|--no-sweep]
binbun id [--name NAME]
binbun share FILE [--lan-only] [--relay binbun|n0|none|URL] [--bind IP] [--mdns] [--no-portmap]
[--add CARD]... [--role editor|viewer|agent] [--yes]
[--share ID | --private] [--name NAME] [--ticket-file PATH]
[--send-binary] [--send-debug] [--history list|none|N,...]
binbun join TICKET [FILE] [--relay binbun|n0|none|URL] [--bind IP] [--mdns] [--no-portmap]
[--name NAME]
binbun edit FILE [--share ID | --private] COMMAND...
binbun bring FILE [--share ID] [--list | --all [--others] | N...] [--label TEXT]
binbun mcp [FILE] [--python PYTHON] [--socket PATH] [--database PATH]
binbun update --check
binbun paths [config|data|state|cache|runtime] [--json]
binbun --help
binbun --version
--arch ARCH (any command): the slice of a universal Mach-O FILE to open
verify exits 0 when all it checked agrees (some functions may be not checkable),
1 when a function differs (with --compare: between the processors), 2 when it
fails (a file, a function or an argument wrong), 3 when nothing was checkable
folders (each under BINBUN_HOME if set, else under its XDG variable if set;
`binbun paths` lists them with their sizes):
config ~/.config/binbun
data ~/.local/share/binbun
state ~/.local/state/binbun
cache ~/.cache/binbun
runtime $XDG_RUNTIME_DIR/binbunCommands
binbun functions
binbun functions FILEbinbun cfg
binbun cfg FILE FUNCTION [--dot]binbun graph
binbun graph FILE FUNCTION [--svg OUT]binbun eval
binbun eval [--seeds entry|all] [--no-pointers] FILE...
binbun eval types FILE [--debug PATH] [--totals]binbun decompile
binbun decompile FILE [FUNCTION...] [--style PRESET] [--l2] [--stats]
[--disable-pass NAME]... [--debug PATH]
[--view exact|reading] [--symbols[=always|never]]
[--types fixed|plain] [--declarations scoped|top]
[--names numbered|registers]binbun strings
binbun strings FILE [--min N] [--referenced]binbun xrefs
binbun xrefs FILE TARGET
binbun xrefs FILE --from FUNCTIONbinbun run
binbun run FILE FUNCTION --state STATE.toml [--view exact|reading]
[--types fixed|plain] [--declarations scoped|top]
[--names numbered|registers] [--depth N] [--steps N]
[--profile NAME|PATH]binbun verify
binbun verify FILE [FUNCTION] [--view exact|reading] [--states N] [--shaped N]
[--seed N] [--fuel N] [--project DIR] [--profile NAME|PATH]
binbun verify FILE [FUNCTION] --compare PROFILE,PROFILE... [--states N] [--shaped N]
[--seed N] [--fuel N] [--save DIR] [--states-full]binbun why
binbun why FILE FUNCTION [VAR] [--view exact|reading] [--project DIR]
binbun why FILE --all [--view exact|reading]
binbun why FILE --global TARGETbinbun origin
binbun origin FILE FUNCTION VAR [--view exact|reading] [--depth N] [--steps N]
binbun origin FILE --sample N [--seed S] [--view exact|reading]binbun stages
binbun stages FILE FUNCTION [--view exact|reading] [--stage NAME] [--diff]
[--types fixed|plain] [--declarations scoped|top]
[--names numbered|registers] [--profile NAME|PATH]binbun sig
binbun sig make --library NAME --version V --licence SPDX [--notice TEXT]
[--source PACKAGE --sha256 H [--url URL]] [--build ID] [--toolchain T] [--flags F]
[--code] [--no-separators] [--add-to PACK] INPUT... -o PACK.jsonl.zst
[--plain: -o PACK.jsonl]
(zstd-compressed by binbun's own encoder: a quarter of the JSON Lines;
`zstd -19` of a --plain pack makes it a sixteenth, as binbun's shipped packs are)
binbun sig check PACK
binbun sig show PACK [NAME]
binbun sig compare PACK PACK
binbun sig match FILE --pack PACK... [--behaviour] [--sweep] [--answers UNSTRIPPED]
binbun sig eval CASES --packs DIR [--sweep|--no-sweep]binbun id
binbun id [--name NAME]binbun share
binbun share FILE [--lan-only] [--relay binbun|n0|none|URL] [--bind IP] [--mdns] [--no-portmap]
[--add CARD]... [--role editor|viewer|agent] [--yes]
[--share ID | --private] [--name NAME] [--ticket-file PATH]
[--send-binary] [--send-debug] [--history list|none|N,...]binbun join
binbun join TICKET [FILE] [--relay binbun|n0|none|URL] [--bind IP] [--mdns] [--no-portmap]
[--name NAME]binbun edit
binbun edit FILE [--share ID | --private] COMMAND...binbun bring
binbun bring FILE [--share ID] [--list | --all [--others] | N...] [--label TEXT]binbun mcp
binbun mcp [FILE] [--python PYTHON] [--socket PATH] [--database PATH]
An MCP server on standard input and output with two tools, python and api,
for an agent (Codex, Claude Code...) to work in binbun:
codex mcp add binbun -- binbun mcp
claude mcp add binbun -- binbun mcp
Without FILE it works in the binbun window running (its binary opened again
in the interpreter, following the window; writes made in the window, one undo
step a call); with FILE, on FILE alone, without a window.
--python PYTHON the Python with binbun installed (default $BINBUN_PYTHON, else python3)
--socket PATH the window's script socket (default $BINBUN_SOCKET, else the one running)
--database PATH which of the window's binaries (default: the window focused last)binbun update
binbun update --checkbinbun paths
binbun paths [config|data|state|cache|runtime] [--json]