Skip to content

Instantly share code, notes, and snippets.

@adrienbrault
Created November 28, 2011 20:07
Show Gist options
  • Save adrienbrault/1401812 to your computer and use it in GitHub Desktop.
Save adrienbrault/1401812 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
./configure
make
make install

Install npm.

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

Finally install coffee script. (-g means globally)

npm install -g coffee-script
@greatnonprofits-org
Copy link

you can also try the EPEL repo,

yum install -y http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm;
yum -y install nodejs npm coffee-script --enablerepo=epel;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment