CragCLI – a new calculator for the command line

2026-03-1014:5952cragcli.info

+add,-subtract, *multiply, /divide() parentheses (bidmas precedence)-ve numbers% modulo operatorJust type crag in your console: exit to quit. ...starts in 1 second [note 1]

  • +add,-subtract, *multiply, /divide
  • () parentheses (bidmas precedence)
  • -ve numbers
  • % modulo operator

Just type crag in your console: exit to quit.

...starts in 1 second [note 1]


Read the original article

Comments

  • By librasteve 2026-03-1014:59

    I made CragCLI for my own fun.

    I think you may like it if:

      - You are a command line user, perhaps a software developer, a data scientist or an IT savvy engineer.
    
      - You are a numerate person, who likes to know the numbers behind what you see.
    
      - You often reach for a calculator. You are comfortable driving a scientific calculator. Maybe you already use another command line calculator like bc.
    
    CragCLI provides both a direct command and an interactive mode via a REPL.

    There is an introductory write up here - https://rakujourney.wordpress.com/2026/03/10/cragcli/

  • By lwhsiao 2026-03-1015:02

    numbat is my go-to for this: https://github.com/sharkdp/numbat

HackerNews