# Installation

Install bashly using one of these methods.

If you have Ruby 2.7 or higher (ruby -v), use this installation method:

gem install bashly

Mac users can enable Ruby gem installation first, and then install bashly:

brew install brew-gem
brew gem install bashly

If you have docker installed, you can create an alias that will run the docker image:

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

# Prerequisites

The bash scripts generated by bashly can run in any shell, but require that bash 4 or higher is installed.

Mac users can upgrade bash by running:

brew install bash