mac 设置 HOMEBREW_GITHUB_API_TOKEN的正确方法

来源:互联网 发布:ios禁止软件联网 编辑:程序博客网 时间:2024/04/30 03:13

网上说的方法不正确

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

ben:~ ssl$ brew search mariadbmariadbError: 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/tokensand then set the token as: HOMEBREW_GITHUB_API_TOKEN

正确的命令

export HOMEBREW_GITHUB_API_TOKEN=XXXXXXXXXX

相关链接

homebrew 中文官网:http://brew.sh/index_zh-cn.html (by default.fu@foxmail.com)

0 0
原创粉丝点击