That cool little “Coder for Raspberry Pi” project from Google which I linked to earlier doesn’t just run on Raspberry Pi. You can run it on any old Linux PC (Mac works too, but the instructions are slightly different).

I set it up in less than 2 minutes using these commands (note that I’m running Debian Sid):

sudo useradd -M pi
sudo apt-get install redis-server
cd ~/projects
git clone
cd coder/coder-base
npm install
npm start

Node.js is also a requirement, so if you don’t have that, you’ll need to install that at step 2 as well.

Once everything is up and running, point your browser at https://localhost:8081/. You’ll need to specify a password the first time you run Coder, after which you’ll be able to try the environment out. It’s pretty neat, and the sample clone of Asteroids is quite addictive!

3 thoughts on “Run Coder for Raspberry Pi on Your Linux PC

  1. I get the following error from npm install using Ubuntu 12.04LTS.

    npm http GET
    npm http GET
    npm http GET
    npm http GET
    npm http GET
    npm http GET
    npm http GET
    npm http GET
    npm http GET

    npm ERR! Error: failed to fetch from registry: mustache/0.7.2
    npm ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12
    npm ERR! at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9)
    npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18)
    npm ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
    npm ERR! at Request. (/usr/lib/nodejs/request/main.js:212:58)
    npm ERR! at Request.emit (events.js:88:20)
    npm ERR! at ClientRequest. (/usr/lib/nodejs/request/main.js:412:12)
    npm ERR! at ClientRequest.emit (events.js:67:17)
    npm ERR! at HTTPParser.onIncoming (http.js:1261:11)
    npm ERR! at HTTPParser.onHeadersComplete (http.js:102:31)
    npm ERR! You may report this log at:
    npm ERR!
    npm ERR! or use
    npm ERR! reportbug –attach /home/shane/projects/coder/coder-base/npm-debug.log npm
    npm ERR!
    npm ERR! System Linux 3.5.0-45-generic
    npm ERR! command “node” “/usr/bin/npm” “install”
    npm ERR! cwd /home/shane/projects/coder/coder-base
    npm ERR! node -v v0.6.12
    npm ERR! npm -v 1.1.4
    npm ERR! message failed to fetch from registry: mustache/0.7.2
    npm ERR!
    npm ERR! Additional logging details can be found in:
    npm ERR! /home/shane/projects/coder/coder-base/npm-debug.log
    npm not ok

    Any help would be appreciated


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.