Skip to content

Instantly share code, notes, and snippets.

@mrjosh
Last active December 31, 2016 11:16
Show Gist options
  • Save mrjosh/0f122a73502106f9e2df3f9cde56e818 to your computer and use it in GitHub Desktop.
Save mrjosh/0f122a73502106f9e2df3f9cde56e818 to your computer and use it in GitHub Desktop.
Codeception installer bash script
if which codecept; then
echo ">>> You have already codeception <<<"
else
if which composer; then
composer global require codeception/codeception
else
sudo curl -LsS http://codeception.com/codecept.phar -o /usr/local/bin/codecept
fi
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment