Mac上没有apt-get工具,

之前安装都很少使用命令,发现命令太重要,要多用才行,改成zsh后,发现没有adb等很多都没有于是折腾一番。


文章参考:http://blog.csdn.net/yangzhongxuan/article/details/8646457


1.安装brew

curl -LsSf http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz -C/usr/local --strip 1 

2. 安装wget,unrar 等

brew install wget


自带的macport没有折腾过,都用这个就用这个吧。

你可能感兴趣的:(mac)