随笔 - 17,  文章 - 0,  评论 - 0,  阅读 - 5167

通过homebrew安装Git

1、安装homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

2、安装git

brew install git

3、安装成功后,在终端输入git,返回如下图所示表示安装成功

 

问题记录:

问题描述:Downloading Command Line Tools for Xcode卡住然后失败

解决方法:

1、appstore下载xcode

 

 2、 查看xcode版本

 

 

 

 

3、下载xcode对应版本的Command Line Tools

https://developer.apple.com/download/more/

 

posted on   guoccf  阅读(1953)  评论(0编辑  收藏  举报
努力加载评论中...

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示