The rpn calculator for your terminal.
Vectro is an rpn calculator for your terminal. Many people consider rpn easier and faster than traditional calculators. Vectro is written in Go using the excellent Bubble Tea package and distributed as a single executable.
On MacOS use brew:
$ brew install gurgeous/tap/vectro
For Linux and Windows, see the latest release on github. You'll find MacOS builds in there too, but they are difficult to run since they are unsigned.
Then run vectro like this:
$ vectro
- Responsive, works with many terminal sizes
- Stack is saved across sessions
- Niceties like Paste (yank) and Undo, error messages, etc.
- advanced ops (autocomplete, shift-ctrl-p)
- animate when stack changes
- theming
- abs / ln / square
- deg/rad / cos/acos / sin/asin / tan/atan
- lcm/gcd / prime (prime factorization)
- floor/ceil/round
- bin/oct/hex / << >> & | ^ ~
- rgb / hsl / oklch
These open source projects helped make Vectro possible. Thanks everybody!
- Go Releaser, Lip Gloss & VHS, decimal, just.

