OSX doesn't support `grep -P` by default, this command can be replaced with: ` perl -nle 'print $1 if /"tag_name": "\K(.*)(?=")/')` or `grep -o '"tag_name": "[^"]*"' | sed 's/"tag_name": "//'`