Skip to content

Instantly share code, notes, and snippets.

@pietgeursen
Forked from mixmix/node_dev_env.md
Last active October 19, 2016 02:08
Show Gist options
  • Save pietgeursen/50bf1df91fa7a96eeeb20d47df477904 to your computer and use it in GitHub Desktop.
Save pietgeursen/50bf1df91fa7a96eeeb20d47df477904 to your computer and use it in GitHub Desktop.
node dev env

linux

install basic tools. In terminal :

sudo apt-get update
sudo apt-get install curl git zsh build-essential

linux + osx

zsh

Install oh-my-zsh. In terminal :

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

ref : https://github.com/robbyrussell/oh-my-zsh

NVM

Install nvm. In terminal :

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash

ref : https://github.com/robbyrussell/oh-my-zsh

  • (edge case) - you might need to copy nvm code from .bashrc to .zshrc
  • you need to open a new terminal window for nvm to work
nvm install 6
nvm ls
nvm alias default 6
nvm ls

text editor

go get atom or sublime In linux when you download the .deb file, make sure you open your downloads folder and double click on in (otherwise your browser by default will just unzip the file)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment