# kalker

> Scientific calculator CLI with support for calculus, variables, functions, matrices, and multiple number bases

Stars: 1.9k · Language: Rust · License: MIT · Categories: Productivity

- Repository: https://github.com/PaddiM8/kalker
- Website: https://kalker.xyz
- Page: https://www.trmn.sh/tools/kalker

## Install

- Homebrew: `brew install kalker`
- Cargo: `cargo install kalker`
- AUR: `yay -S kalker`

## Overview

Kalker is a scientific calculator that runs as a command-line interface and supports advanced mathematical operations including differentiation, integration, and root finding using Newton's method. It handles user-defined variables and functions with syntax like `f(x, y) = xy` and `x = 5`, along with built-in mathematical functions and constants.

The calculator supports vectors, matrices, and multiple number bases (binary, octal, hexadecimal) with formats like `0b1101` or `1101_2`. It includes features like piecewise functions, sum notation, and can load predefined function libraries from files using the `-i` flag or `load` command. The tool provides syntax highlighting and special symbol completion, converting `sqrt` to `√` when pressing tab.

Kalker runs across Windows, macOS, Linux, Android, and web browsers via WebAssembly. It's designed for users who need a capable scientific calculator accessible from the terminal, including students, engineers, and developers working with mathematical computations. The calculator handles ambiguous syntax intelligently, parsing expressions like `2sin50 + 2xy` correctly.

### Installation

```bash
# via Homebrew
brew install kalker
```

```bash
# via Cargo
cargo install kalker
```

```bash
# via AUR
yay -S kalker
```

## Alternatives

- [taskwarrior-tui](https://www.trmn.sh/tools/taskwarrior-tui.md): A terminal user interface for Taskwarrior with vim-like navigation and live filtering capabilities. (Rust, 2.2k stars)
- [termusic](https://www.trmn.sh/tools/termusic.md): Terminal music and podcast player in Rust with a server/TUI split, rusty, MPV and GStreamer backends, tag editor, and YouTube downloads via yt-dlp. (Rust, 2.2k stars)
- [basalt](https://www.trmn.sh/tools/basalt.md): Terminal user interface (TUI) for managing Obsidian vaults and notes from the command line (Rust, 1.4k stars)
- [Numbat](https://www.trmn.sh/tools/numbat.md): Statically typed scientific calculator language with physical dimensions as types and first-class units, with an interactive REPL and unit conversion via ->. (Rust, 2.8k stars)
- [outside](https://www.trmn.sh/tools/outside.md): Terminal weather client with multiple output formats including TUI, JSON, and Waybar integration (Rust, 103 stars)

---

Canonical: https://www.trmn.sh/tools/kalker
