VisiGrid CLI
A spreadsheet engine for your terminal. Run formulas against data files, reconcile datasets, replay provenance scripts, and convert between formats.
brew install --cask visigrid/tap/visigrid visigrid-cli is included with every download
Commands
calc Run formulas against data
Evaluate spreadsheet formulas on piped data. Supports all 96+ built-in functions.
diff Reconcile two datasets
Compare two files by key column. Shows matched rows, rows only in left/right, and deltas with configurable tolerance.
replay Execute and verify provenance
Run Lua provenance scripts that record every edit made in VisiGrid. Verify that the output matches a known fingerprint for auditability.
convert Filter, project, transform
Read CSV, TSV, JSON, XLSX, and .sheet files. Filter rows with --where, select and reorder columns with --select, write CSV, TSV, JSON, .sheet.
list-functions List available functions
Print all 96+ built-in spreadsheet functions. The same engine that powers the desktop app.
sessions Control a running GUI
Inspect cells, apply changes, and watch state evolve — all from scripts. TCP localhost with token auth.
Provenance
Every edit in VisiGrid can generate a Lua provenance script — a complete, ordered record of what changed and when. These scripts are plain text, version-control friendly, and replayable.
-- api=v1
-- VisiGrid Provenance Script
-- Expected fingerprint: v1:6:b38b632d7f38dedf...
grid.set{ sheet=1, cell="A1", value="Revenue" }
grid.set{ sheet=1, cell="A2", value="42850" }
grid.set{ sheet=1, cell="A3", value="38100" }
grid.set{ sheet=1, cell="A4", value="29400" }
grid.set{ sheet=1, cell="B1", value="Total" }
grid.set{ sheet=1, cell="B2", value="=SUM(A2:A4)" }
Use visigrid-cli replay --verify to re-execute the script and confirm the output matches the recorded fingerprint. If anyone changed the source data or the script, verification fails.
Install
The CLI is included with every VisiGrid download. Install the app and you get both.
brew install --cask visigrid/tap/visigrid winget install VisiGrid.VisiGrid yay -S visigrid-bin