Command-line polyhedral dice roller
Roll once:
$ roll 3d6+2
Or roll interactively:
$ roll
roll> 3d6+5
roll> d20
roll> quit
- Install globally via Composer:
$ composer global require amacrobert/dice-roller
- If you don't already have your global composer bin directory as part of your PATH, add it in your shell profile:
export PATH=$PATH:$HOME/.composer/vendor/bin/