Chrome, JavaScript, webdev

Install NodeJS On Compute Engine


In the past, I’ve showed how to run a NodeJS application in Compute Engine. It’s a good case where you wish to test ideas with App Script but when you move them to ‘production’ – NodeJS is the answer. After the Google Developer Live show we had at the end of August, I got few questions on how to install NodeJS inside Compute Engine instance.

Here are the (easy) steps I did before the show in order to save us time:


  1. sudo apt-get install python g++ make checkinstall
  2. mkdir ~/src && cd $_
  3. wget -N
  4. tar xzvf node-latest.tar.gz && cd node-v*
  5. ./configure
  6. checkinstall
  7. sudo dpkg -i node_*

Compute Engine

The great benefit from running this installation process on your first instance is that after that, you can take a ‘Snapshot’ (you got up to 1,000!) and later use it on new instances.




2 thoughts on “Install NodeJS On Compute Engine

  1. Ron Sklar says:

    love your Monument Valley picture and want to use it as Chrome theme, but cannot get it to load as theme. I search for it in Chrome store. It comes up as either “rate it” or “added to Chrome”, but will not load as theme. I Have googled for instructions and spent hours trying to get it to load with absolutely no success… can you give me info as to how to make it a Chrome theme? Thank you..

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s