#
Installation
Install bashly using one of these methods.
Bashly requires Ruby 3.0 or higher (ruby -v
).
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'
#
Bash Completions
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
Tip
To generate bash completions for your own scripts, see
Advanced Features Bash Completion
#
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