Skip to content

Instantly share code, notes, and snippets.

@gms8994
Forked from adrienbrault/gist:1401812
Created October 19, 2012 18:21
Show Gist options
  • Save gms8994/3919797 to your computer and use it in GitHub Desktop.
Save gms8994/3919797 to your computer and use it in GitHub Desktop.
Install coffee script compiler on CentOS

You are going to install some things. Login in root or use sudo for most of the followings commands.

su -

First you need git.

yum install git

Then you'll need openssl-devel to compile node.

yum install openssl-devel

Download the lastest version of node, compile it and install it.

cd /usr/local/src
wget http://nodejs.org/dist/node-v0.6.2.tar.gz
tar zxvf node-v0.6.2.tar.gz
cd node-v0.6.2
./configure
make
make install

Install npm.

curl https://npmjs.org/install.sh | sh

Finally install coffee script. (-g means globally)

npm install -g coffee-script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment