xcode Download 한다.
실행후 Command Line Tools 설치 후 종료.
http://brew.sh/
brew 설치.
터미널에서 -> ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
터미널 재실행.
npm 설치
터미널에서 -> brew install npm
localhost:Documents Wind$ brew install npm
터미널 재실행.
// xcode를 미설치나 미동의시 아래같은 내용이 나올 수 있다.
Warning: You have not agreed to the Xcode license.
Builds will fail! Agree to the license by opening Xcode.app or running:
xcodebuild -license
nvm 설치
- curl https://raw.github.com/creationix/nvm/master/install.sh | sh
- open a new terminal window (or do a shell logout + login)
- touch /User/userid/.profile 라고 친후 재인스톨.
- nvm install 0.8
- nvm use 0.8
- node --version 으로 0.8.x 버전인지 확인. (컴파일은 0.8 버전대밖에 되지 않는다.)
npm install -g sm
git clone https://github.com/ajaxorg/cloud9.git