Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save VandeurenGlenn/4c0cc66cfd2485d89b97 to your computer and use it in GitHub Desktop.

Select an option

Save VandeurenGlenn/4c0cc66cfd2485d89b97 to your computer and use it in GitHub Desktop.

How to install Node.js on Chrome Os.

Prerequisites:

  • Chrome Os running in Developer Mode.
  • crouton (Chromium OS Universal Chroot Environment).

When not in Developer Mode check the official chromium poking-around-your-chrome-os-device page.

Installing

Open a command prompt

crosh: Press [ Ctrl ] [ Alt ] [ T ] and type:

shell

or VT-2: [ Ctrl ] [ Alt ] [ => ]

chronos

Install crouton.

sudo sh ~/Downloads/crouton -r trusty -t cli-extra

Enter chroot.

sudo enter chroot

Install Node.js

curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs

Install build-essential & git.

sudo apt-get install -y build-essential git

Install Bower & Gulp

sudo npm install -g gulp bower
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment