mac 设置 HOMEBREW_GITHUB_API_TOKEN的正确方法

网上说的方法不正确

网上说的是通过修改 ./~

ben:~ ssl$ brew search mariadb
mariadb
Error: GitHub API rate limit exceeded for 125.94.38.47. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
Try again in 54 minutes 46 seconds, or create an personal access token:
  https://github.com/settings/tokens
and then set the token as: HOMEBREW_GITHUB_API_TOKEN

正确的命令

export HOMEBREW_GITHUB_API_TOKEN=XXXXXXXXXX

相关链接

homebrew 中文官网:http://brew.sh/index_zh-cn.html (by [email protected]

猜你喜欢

转载自blog.csdn.net/default7/article/details/48065775
今日推荐