Install bashly using one of these methods.
Bashly requires Ruby 3.0 or higher (
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'
To enable bash completions for the
bashly executable itself run:
bashly completions --install
You might need to install the
bash-completion package for your operating
system if it is not already installed. For example:
brew install bash-completion # or sudo apt install bash-completion
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