
macos
_游侠
这个作者很懒,什么都没留下…
展开
-
brew 切换国内的源
将官方的源切到国内源:# 替换brew.git:cd "$(brew --repo)"# 中国科大:git remote set-url origin https://mirrors.ustc.edu.cn/brew.git# 清华大学:git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git# 替换homebrew-core.git:cd "$(brew --rep...原创 2020-09-19 18:31:38 · 720 阅读 · 0 评论 -
解决MacOS升级后出现xcrun: error: invalid active developer path, missing xcrun的问题
报错信息xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun解决方法,重装xcode command line:xcode-select...原创 2019-01-11 16:51:10 · 544 阅读 · 0 评论 -
Mac下打开/usr/local目录
Mac下/usr/local目录默认是对于Finder是隐藏,如果需要到/usr/local下去,打开Finder,然后使用command+shift+G,在弹出的目录中填写/usr/local就可以了。原创 2019-03-12 17:01:26 · 3689 阅读 · 0 评论