Jiahonzheng's Blog

Mac 开发环境配置

字数统计: 137阅读时长: 1 min
2018/02/26 Share

Enable Dragging

System Preferences -> Accessibility -> Mouse & Trackpad -> Trackpad Options -> Enable dragging (three finger drag)

Homebrew

1
2
# This also install Xcode Command Line Tools
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

wget

1
brew install wget

ShadowsocksX

1
brew cask install shadowsocksx

Google Chrome

1
brew cask install google-chrome

Python

1
2
# install pip
sudo easy_install pip

Node

1
brew install node

Vue

1
npm i -g vue-cli

Xcode

1
2
3
# Install Xcode on App Store
# When the installation is finished, run the following command.
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/

React Native

1
2
3
4
5
6
7
# if node is installed, ignore the following command
brew install node

brew install watchman

# Install Xcode
# Install Xcode Command Line Tools

Ghost

1
2
3
4
5
6
7
npm i -g ghost-cli
npm i -g knex-migrator
knex-migrator init

# [Optional]
# install buster: a tool for generating static sites for Ghost
sudo pip install buster
CATALOG
  1. 1. Enable Dragging
  2. 2. Homebrew
  3. 3. wget
  4. 4. ShadowsocksX
  5. 5. Google Chrome
  6. 6. Python
  7. 7. Node
  8. 8. Vue
  9. 9. Xcode
  10. 10. React Native
  11. 11. Ghost