Skip to content

Instantly share code, notes, and snippets.

@violetyk
Created August 14, 2013 09:20
Show Gist options
  • Save violetyk/6229329 to your computer and use it in GitHub Desktop.
Save violetyk/6229329 to your computer and use it in GitHub Desktop.
# node.jsとternのインストール
```sh
yum install gcc gcc-c++ kernel-devel libssl-devel
cd /usr/local/src
wget http://nodejs.org/dist/v0.10.15/node-v0.10.15.tar.gz
cd /usr/local/src/node-v0.10.15
# 要python2.6 or 2.7
python26 ./configure --prefix=/usr/local/node-v0.10.15
make
paco -D make install
paco -ua
vi /etc/profile.d/
PATH=$PATH:/usr/local/node-v0.10.15/bin
export PATH
source /etc/profile.d/node.sh
node -v
npm install -g typescript
git clone git://github.com/marijnh/tern
cd tern
npm install
bin/tern &
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment