装机必备软件
sublime, sts, xcode, json xml paser,git,dash,xmind,docker,有道笔记,mysql workbench,go2shell,alfred,
修改/etc/profile
export PS1="[\u@\h:\`pwd\`]\\$"
export PS2="continue->"
alias ll="ls -ltr"
alias lp="source /etc/profile"
alias st="cd /Volumes/store"
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home
export ANT_HOME=/Volumes/store/application/apache-ant-1.10.1
export TOMCAT_HOME=/Volumes/store/application/apache-tomcat-9.0.2
export MAVEN_HOME=/Volumes/store/application/apache-maven-3.5.2/
export PYTHON2_HOME=/System/Library/Frameworks/Python.framework/Versions/2.7
export PYTHON3_HOME=/Library/Frameworks/Python.framework/Versions/3.6
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$MAVEN_HOME/bin:$TOMCAT_HOME/bin:.:$PATH
echo "load path"
echo $PATH
安装brew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
卸载:brew remove SoftwareName
brew install ncurses
brew install cmake
安装TensorFlow
pip3 install tensorflow
安装homebrew cask
brew install caskroom/cask/brew-cask
brew cleanup