Skip to content

Instantly share code, notes, and snippets.

@dataslask
Last active March 29, 2017 17:43
Show Gist options
  • Save dataslask/1aa7814430e3d95e60cff6766ceac370 to your computer and use it in GitHub Desktop.
Save dataslask/1aa7814430e3d95e60cff6766ceac370 to your computer and use it in GitHub Desktop.
# Make a gnome chroot
sudo sh ~/Downloads/crouton -n gnome -t xiwi,cli-extra,chrome,extension,gnome
# To get the most recent version add a PPA (personal package archive) maintained by NodeSource
cd ~
curl -sL https://deb.nodesource.com/setup_6.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
# Install node and npm
sudo apt-get install nodejs
# Not sure if we still need update-alternatives when installing latest node (v6+)
sudo update-alternatives --install /usr/bin/node node /usr/bin/nodejs 10
# Install gnome-terminal
sudo apt-get install gnoe-terminal
# Fix locale if gnome-termnal fails
locale-gen --purge
dpkg-reconfigure locales
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment