Skip to content

Instantly share code, notes, and snippets.

@lykmapipo
Last active August 29, 2015 14:18
Show Gist options
  • Save lykmapipo/54c9f517fad5a2a8ef3b to your computer and use it in GitHub Desktop.
Save lykmapipo/54c9f517fad5a2a8ef3b to your computer and use it in GitHub Desktop.
Nodejs Environment Setup

nodejs development environment setup

Update ubuntu

$ sudo apt-get update

Install curl

$ sudo apt get install curl

Git

Installing Git

$ sudo apt-get install git

Configure Git

$ git config --global user.name "username"
$ git config --global user.email "email@address"

Installing nodejs

Install nvm

$ curl https://raw.githubusercontent.com/creationix/nvm/v0.24.1/install.sh | bash

Install stable nodejs

$ nvm install stable

Install nodejs dev tools

$ npm install -g grunt-cli gulp bower yo

Install development editors

Install sublime text 2

sudo add-apt-repository -y ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text

Install sublime text packages control

See package control guide

Install common packages

In you sublime editor press Ctrl + Shift + p then type the name of the packages below to install them except for SidebarEnhancements.

  • SidebarEnhancements
  • Javascript and NodeJS Snippets
  • MarkdownEditing
  • Bootstrap 3 Snippets
  • SublimeREPL
  • DocBlockr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment