Skip to content

Instantly share code, notes, and snippets.

View honghuac's full-sized avatar
💭
TWO-peat speaker and content contributor for Red Hat Summit #rhsummit

Hong honghuac

💭
TWO-peat speaker and content contributor for Red Hat Summit #rhsummit
View GitHub Profile

Description

When using Homebrew (http://brew.sh) and searching formulas or pull requests you may get the dreaded error message: Github API Rate limit exceeded

Let's fix that! (yeah!)


Short version

Create a new Personal Token in your Github Account Settings (Sidebar: Applications) and then copy the Token. In the Terminal, use export HOMEBREW_GITHUB_API_TOKEN=YOURAPITOKENWITHFUNKYNUMBERSHERE (change that to your API Token) or add that to your .bash_profile and then do source .bash_profile.