- Have Snyk CLI installed (will return an error if Snyk is not installed)
- Have Snyk CLI authenticated (if not authenticated, then pre-commit hook will warn the user)
- Have pre-commit script in their .git/hooks directory as pre-commit
- Make the pre-commit file executable