Skip to content

Instantly share code, notes, and snippets.

@artembeloglazov
Last active December 20, 2015 19:29
Show Gist options
  • Save artembeloglazov/6183843 to your computer and use it in GitHub Desktop.
Save artembeloglazov/6183843 to your computer and use it in GitHub Desktop.
NVM
if [ -d ~/.oh-my-zsh ]
then
echo "\033[0;33mYou already have Oh My Zsh installed.\033[0m You'll need to remove ~/.oh-my-zsh if you want to install"
exit
fi
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
curl https://gist.github.com/artembeloglazov/4706372/raw/.zshrc > ~/.zshrc
chsh -s `which zsh`
echo 'Надо перегрузить консоль.'
nvm install v0.10.13
echo "\n#load node\nnvm use v0.10.13 " >> ~/.zshrc

Main install

curl -OL https://gist.github.com/artembeloglazov/6183843/raw/env_install.sh && sh env_install.sh

Node.js install

nvm install

git clone https://github.com/creationix/nvm.git ~/.nvm
source ~/.nvm/nvm.sh

node.js install

curl -OL https://gist.github.com/artembeloglazov/6183843/raw/node_install.sh && source node_install.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment