brew时HOMEBREW_GITHUB_API_TOKEN错误

$ brew search fantastical
No formula found for "fantastical".
==> Searching pull requests...
Error: GitHub API rate limit exceeded for 180.173.89.247. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
Try again in 23 minutes 51 seconds, or create a personal access token:
  https://github.com/settings/tokens/new?scopes=&description=Homebrew
and then set the token as: HOMEBREW_GITHUB_API_TOKEN

相信有很多人会遇到上面这种问题,正确解决之道:git

一、点击错误信息中的github连接github

二、先生成好token并copyspa

三、打开terminal,输入 export HOMEBREW_GITHUB_API_TOKEN=你copy的token字符串code

四、搞定orm

$ export HOMEBREW_GITHUB_API_TOKEN=你copy的token字符串
相关文章
相关标签/搜索