CrossBridge Lab

技術ネタ、デバイスネタを...

macOS Sierra 10.12 開発環境構築 メモ

macOS Sierra 10.12 をクリーンインストールしたので開発環境構築の自分用メモを。

※随時更新予定

Xcode

https://itunes.apple.com/jp/app/xcode/id497799835?mt=12

Java SE Development Kit 8 (JDK1.8)

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Android Studio

https://developer.android.com/studio/index.html?hl=ja

echo export PATH='$HOME/Library/Android/sdk/platform-tools:$PATH' >> ~/.bash_profile
source ~/.bash_profile

VisualStudioCode

https://code.visualstudio.com/

Homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo export PATH='/usr/local/bin:$PATH' >> ~/.bash_profile
source ~/.bash_profile

Git

brew install git

Golang

brew install go
echo 'export PATH=$GOPATH/bin:$PATH' >> ~/.bash_profile
echo 'export GOPATH=$HOME/golang' >> ~/.bash_profile

node.js

brew install nodebrew
mkdir -p ~/.nodebrew/src
echo 'export PATH=$HOME/.nodebrew/current/bin:$PATH' >> ~/.bash_profile
source ~/.bash_profile
nodebrew install-binary stable
nodebrew use stable

Python3

brew install pyenv

echo 'export PATH=$HOME/.pyenv/shims:$PATH' >> ~/.bash_profile

pyenv install 3.6.0
pyenv install anaconda3-4.2.0

pyenv local anaconda3-4.2.0
pyenv global anaconda3-4.2.0

CocoaPods

sudo gem install cocoapods
pod setup

SourceTree

https://ja.atlassian.com/software/sourcetree