# Installation

If you have Ruby 2.7 or later, installing the bashly gem is the preferred method. Otherwise, you can use the bashly docker image.

gem install bashly
alias bashly='docker run --rm -it --user $(id -u):$(id -g) --volume "$PWD:/app" dannyben/bashly'

# Prerequisites

The bash scripts generated by bashly require bash 4 or higher due to heavy use of associative arrays.

Mac users can upgrade bash by running:

brew install bash