Created
August 14, 2013 09:20
-
-
Save violetyk/6229329 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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