Bash - Dependency

About

dependency management in Bash

Management

Check if a script or utility is installed

Example:

command -v foo >/dev/null 2>&1 || { echo "I require foo but it's not installed.  Aborting." >&2; exit 1; }

Documentation / Reference


Powered by ComboStrap