4

I spend most of my time in the terminal. I heard something about TermKit, and I'm curious as to how I can install it on Ubuntu. So far, I haven't been able to find any good instructions on how to install it.

  • 1
    Thanks for this... Installing it myself, I will post an answer as soon as I make it work for me. – nickguletskii Jun 18 '11 at 18:55
5

First, install the dependencies:

sudo apt-get install git libssl-dev

Now, download, build and install node, npm (a package manager for node) and TermKit itself:

Build Node.js:

trunk is a bit unstable so we check out a known-working version of node:

cd ~
mkdir TermKitProj
cd TermKitProj
git clone https://github.com/joyent/node.git
cd node
git reset --hard 1b8dd65d6e3b82b6863e
./configure
make
sudo make install
cd ..
git clone http://github.com/isaacs/npm.git
cd npm
sudo make install
cd ..

Build TermKit

git clone https://github.com/Floby/TermKit.git --recursive
cd TermKit/
npm install

Okay, everything is installed. Now lets launch it!

node Node/nodekit.js

You should see something like this:

18 Jun 20:12:45 - socket.io ready - accepting connections
server listening at http://localhost:2222

And now navigate to http://localhost:2222 in Chrome/Chromium (Firefox won't work, webkit needed!) To launch it again, navigate to TermKitProj/TermKit and run "node Node/nodekit.js" again.

Thanks to this guide.

  • I am getting the following error node.js:134 throw e; // process.nextTick error, or 'error' event on first tick TypeError: Cannot call method 'apply' of undefined at EventEmitter.<anonymous> – Insane Coder Sep 15 '14 at 6:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.