Skip to content

Command-Line Interface (kalc-cli) Overview

Run calculations, convert units, and evaluate multi-line financial models directly inside your terminal, shell scripts, and CI/CD pipelines.

For complete details on one-shot expressions, multi-line piping, the --last scalar extraction flag, and compilation instructions, see the Full Command-Line Interface Guide.


Quick Example

bash
# One-shot expression
kalc-cli "$100 + 15% in EUR"                    # 105.80 EUR

# Scalar extraction for shell scripts
echo -e "a = 50\nb = 20\na * b" | kalc-cli --last # 1000

👉 Continue to Full Command-Line Interface Guide

Native macOS Computational Notepad • Pure Swift with Strict Concurrency