| Crates.io | cali |
| lib.rs | cali |
| version | 0.9.0 |
| created_at | 2025-04-21 04:10:33.468912+00 |
| updated_at | 2025-04-29 03:11:58.307609+00 |
| description | A terminal calculator with real-time evaluation, unit conversions, and natural language expressions. |
| homepage | https://github.com/BorhanSaflo/cali#readme |
| repository | https://github.com/BorhanSaflo/cali |
| max_upload_size | |
| id | 1642269 |
| size | 368,306 |
Cali is a terminal-based calculator that interprets natural language for real-time calculations, including arithmetic, currency conversions, unit conversions, and date/time operations.

brew tap borhansaflo/cali
brew install cali
cargo install cali
Download the latest release for your platform from the releases page
Clone the repository:
git clone https://github.com/BorhanSaflo/cali.git
cd cali
Build with Cargo:
cargo build --release
The compiled binary will be available at target/release/cali
cargo install --path .
Start Cali by running:
./target/release/cali
# Or if installed with cargo install
cali
Type expressions and see results instantly:
10 + 5 # 15
20 * 3 # 60
100 / 4 # 25
Assign values to variables and use them in calculations:
price = 10 USD
tax = 7%
total = price + price * tax # $10.70
Convert between various units:
5 km in miles # 3.10686 mi
10 USD in EUR # €8.50
350 ml in cups # 1.47981 cup
Perform date-related calculations:
next friday # 2025-04-18
next monday + 2 weeks # 2025-05-05
Calculate percentages:
20% of 50 # 10
price - 15% # $8.50
Enter: Add a new lineUp/Down: Navigate through linesLeft/Right: Move cursor horizontallyHome/End: Move to start/end of lineBackspace/Delete: Delete charactersCtrl+q: Quit the applicationCtrl+s: Save the current file