1 Chrome

Directly download Chrome from https://www.google.com/chrome/.

2 Xcode

Directly install Xcode from App Store.

3 Xcode command line tools

Open Terminal and agree the Xcode license.

sudo xcodebuild -license accept

Then install Xcode command line tools.

xcode-select --install

4 iTerm2

ITerm 2 is a comfortable terminal. It can be downloaded from https://www.iterm2.com/downloads.html.

5 Homebrew

This is a tool that can help us easily install packages.

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

Environment variables configuration.

sudo vim /etc/profile

Add the following to the end. Note that the path depends on the version of jdk.

PATH=“.$PATH:/usr/local/bin”

Make it effective.

source /etc/profile

Check if the configuration is completed.

brew help

6 Oh My Zsh

A terminal theme from https://ohmyz.sh/.

7 QT

Official download.

8 Office

Official download.

9 Anaconda

Official download.

10 Android Studio

Official download.

11 JDK

Download from https://www.oracle.com/technetwork/java/javase/downloads/jdk10-downloads-4416644.html.

See the version of Java.

java -version

Environment variables configuration.

sudo vim /etc/profile

Add the following to the end. Note that the path depends on the version of jdk.

JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home"
export JAVA_HOME
CLASS_PATH="$JAVA_HOME/lib"
PATH=“.$PATH:$JAVA_HOME/bin”

Make it effective.

source /etc/profile

Check if the configuration is completed.

echo $JAVA_HOME

12 MySQL

Install MySQL via homebrew.

brew install mysql

Start MySQL service.

brew services start mysql

Set the password to root.

mysqladmin -u root password "new password"

Login in MySQL.

mysql -u root -p

12 Node.js

Official download.

Reference

[1] https://zhuanlan.zhihu.com/p/27282331

[2] https://www.zhihu.com/question/29114464/answer/153345290

[3] https://zhuanlan.zhihu.com/p/30704752

Leave a Reply

Your email address will not be published. Required fields are marked *