1 2 3 4 5 6
#!/bin/bash if ! npm --version >/dev/null; then echo 'Node Package Manager (npm) missing' exit 1 fi