- Read and edit
.sheetbook files: sheet, line, variable, definition, new, search, use, and inspect commands.
- Export to text, CSV, HTML, and PNG, rendered with SoulverCore's HTML exporter.
- Interactive mode keeps state — variables and line references persist across the session.
--locale for locale-specific parsing and formatting.
--json output on read and write commands, for use from scripts and agents.
- Currency rates are fetched and cached locally rather than downloaded as a bundle on first launch.
- Universal binary (Apple Silicon and Intel), signed and notarized.
Existing usage is unchanged: soulver "1+1", echo "1+1" | soulver, and soulver file.txt all work as before.
Expressions
soulver "25% off 159.99 + 10% tax"
soulver "98 USD in EUR"
soulver "time in tokyo when it is 9am in new york"
echo "150 GBP + 200 USD in AUD" | soulver
soulver ~/Desktop/budget.txt # evaluate every line of a file
soulver --locale de_DE "1.000,50 + 1" # → 1001,5
Interactive mode
Run soulver with no arguments to start an interactive session. Variables and line references persist across the session:
$ soulver
Soulver — interactive calculator. Type 'exit' or press Ctrl-D to quit.
>>> rent = 2400
2400
>>> rent * 12
28800
>>> line1 + 500
2900
Sheetbooks
The CLI reads and edits the same .sheetbook files as the Soulver app. It uses your active sheetbook by default, or set one with soulver use, or pass --path.
# sheets
soulver sheet list
soulver sheet show "Budget"
soulver sheet create "July Expenses"
soulver sheet move "Budget" --to "2026"
soulver sheet save-as "Budget" --output ~/Budget.slvr
# lines
soulver line list --sheet "Budget"
soulver line append --sheet "Budget" "Rent: 2400"
soulver line insert --sheet "Budget" --at 3 "Utilities: 180"
soulver line set --sheet "Budget" 2 "Rent: 2500"
soulver line mark subtotal --sheet "Budget" 4
# variables, definitions, search
soulver variable set hourly_rate "85 USD"
soulver definition append "story = 3.5 m"
soulver search "rent"
# new files
soulver new sheetbook --path ~/Documents/Finances.sheetbook
line mark types: expression, subtotal, timepoint, running-total, running-budget. Lines can also be appended from stdin:
printf 'Coffee: 4.50\nLunch: 14\nTaxi: 22' | soulver line append --sheet "Today"
Export
soulver export txt --sheet "Budget" --output budget.txt
soulver export csv --sheet "Budget" --output budget.csv
soulver export html --sheet "Budget" --show-line-numbers --show-total --output budget.html
soulver export png --sheet "Budget" --width 800 --output budget.png
soulver export txt --sheet "Budget" --clipboard
HTML and PNG are rendered with SoulverCore's HTML exporter, so output is syntax-highlighted and matches the app.
JSON
Read commands return structured JSON with --json; write commands report what
changed ({ok, id, line, …}) so results can be chained without parsing prose.
Errors go to stderr with a non-zero exit code.
soulver sheet list --json
soulver inspect line --sheet "Budget" --line 1 --json
id=$(soulver sheet create "Budget" --json | jq -r .id)
Currency
Exchange rates (190+ fiat and crypto) are fetched on first use and cached in ~/.config/soulver/, then refreshed periodically. Conversions work offline once cached.
Notes
- The command is
soulver. The Homebrew cask is soulver-cli.
- Help:
soulver --help, soulver <command> --help, soulver help <command> <subcommand>.