Skip to content

Instantly share code, notes, and snippets.

@mort3za
Last active September 6, 2016 07:09
Show Gist options
  • Save mort3za/878dba28b6b45228b6b5 to your computer and use it in GitHub Desktop.
Save mort3za/878dba28b6b45228b6b5 to your computer and use it in GitHub Desktop.
Installing bower, gulp, npm, nodejs on ubuntu. #linux
# First install 'nodejs' (not node, and don't use apt install nodejs, because it's not latest version).
# https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs
# and then npm (if it's not installed automatically):
# https://rtcamp.com/tutorials/nodejs/node-js-npm-install-ubuntu/
# Then install bower and gulp with simple npm install command (with -g flag).
# For accessing bower in global space (or adding it to path) create a symbolic link:
# http://stackoverflow.com/questions/21491996/installing-bower-on-ubuntu
# Also for libsass, just install node-sass (both for global and local) by npm.
npm install node-sass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment