Skip to content

Instantly share code, notes, and snippets.

@YasushiKobayashi
Last active February 14, 2019 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save YasushiKobayashi/55e5d76cdb9cc2f7d2cd60a53ba2377f to your computer and use it in GitHub Desktop.
Save YasushiKobayashi/55e5d76cdb9cc2f7d2cd60a53ba2377f to your computer and use it in GitHub Desktop.
install nodejs with nodenv
#!/bin/sh
brew install nodenv yarn
nodenv install 6.7.0
nodenv rehash
nodenv global 6.7.0
echo 'export PATH="$HOME/.nodenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(nodenv init -)"' >> ~/.bash_profile
source ~/.bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment