eva
Calculator REPL with syntax highlighting and persistent history, similar to bc(1)
eva is a calculator REPL (Read-Eval-Print Loop) that provides an interactive command-line interface for mathematical calculations. It serves as an alternative to bc(1) with additional features like syntax highlighting and persistent history. The tool supports standard mathematical operations, trigonometric functions, logarithms, and common mathematical constants like pi and e.
The calculator includes quality-of-life features that enhance the user experience beyond basic computation. It automatically inserts multiplication operators where implied (e.g., 12sin(45) becomes 12 * sin(45)), automatically balances parentheses, and allows referencing the previous answer with _. Users can customize output formatting with options for different number bases (radix 1-36) and decimal precision (1-64 places).
eva supports both interactive REPL mode and command-line expression evaluation. It includes comprehensive mathematical functions covering trigonometry (with degree input by default), logarithms, roots, and basic operations. The tool provides clear error messages for domain errors and maintains calculation history across sessions, making it suitable for developers, engineers, and anyone needing quick mathematical computations in a terminal environment.
Installation
# via Homebrew
brew install eva
# via Cargo
cargo install eva

Alternatives & related tools
ducker
Terminal UI for managing Docker containers, images, volumes, and networks with vim-style navigation and keyboard shortcuts
e1s
Terminal-based TUI for browsing and managing AWS ECS clusters, services, tasks, and containers with interactive navigation
tlrc
Official tldr-pages client written in Rust that shows community-maintained command cheat sheets in the terminal, with a local cache and a TOML config.
Railway CLI
Command-line client for Railway projects: deploy with `railway up`, manage IaC config, configure AI agent tools via MCP, and launch cloud agent VMs.
octocov
Code metrics toolkit for collecting coverage, code-to-test ratio, test execution time, and custom metrics from multiple report formats
add a badge to your README
Maintain eva? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/eva?utm_source=badge)<a href="https://www.trmn.sh/tools/eva?utm_source=badge"><img src="https://www.trmn.sh/badge/eva.svg" alt="Featured on trmn" height="20"></a>