In late twenty thirteen, the team behind Express.js announced a new framework called Koa. It uses some features that require an unstable dev version of Node.

Let’s try it! First we’ll install node version 0.11.11 Unstable.

http://blog.nodejs.org/2014/01/28/node-v0-11-11-unstable/

wget http://nodejs.org/dist/v0.11.11/node-v0.11.11.tar.gz
tar -xzvf node-v0.11.11.tar.gz
cd node-v0.11.11
apt-get install build-essential
./configure
make and make install
node -v

Now we’ll clone an example of Koa.

clone https://github.com/node-modules/koa-ejs.git
cd koa-ejs/example
npm install
node --harmony app.js

Go to localhost:7001 and It works.

it_works

In a future article we’ll delve more into this framework.